@naturalcycles/backend-lib 4.18.4 → 4.18.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -93,7 +93,7 @@ class SentrySharedService {
93
93
  // It's a Breadcrumb, not a console.log, because console.log are NOT automatically attached as Breadcrumbs in cron-job environments (outside of Express)
94
94
  this.sentry().addBreadcrumb({
95
95
  message: [err, data]
96
- .filter(Boolean)
96
+ .filter(js_lib_1._isNotEmpty)
97
97
  .map(a => (0, nodejs_lib_1.inspectAny)(a, INSPECT_OPT))
98
98
  .join('\n'),
99
99
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturalcycles/backend-lib",
3
- "version": "4.18.4",
3
+ "version": "4.18.5",
4
4
  "scripts": {
5
5
  "prepare": "husky install",
6
6
  "serve": "APP_ENV=dev nodemon",
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  _anyToError,
3
+ _isNotEmpty,
3
4
  _Memo,
4
5
  AppError,
5
6
  CommonLogger,
@@ -114,7 +115,7 @@ export class SentrySharedService {
114
115
  // It's a Breadcrumb, not a console.log, because console.log are NOT automatically attached as Breadcrumbs in cron-job environments (outside of Express)
115
116
  this.sentry().addBreadcrumb({
116
117
  message: [err, data]
117
- .filter(Boolean)
118
+ .filter(_isNotEmpty)
118
119
  .map(a => inspectAny(a, INSPECT_OPT))
119
120
  .join('\n'),
120
121
  })