@naturalcycles/backend-lib 9.5.0 → 9.5.1

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.
@@ -60,7 +60,7 @@ export class SentrySharedService {
60
60
  const data = _isErrorObject(err) ? err.data : undefined;
61
61
  // Using request-aware logger here
62
62
  // Log both the error and attached ErrorData (if any)
63
- getRequestLogger().error('captureException:', ...[err_, data].filter(Boolean));
63
+ getRequestLogger().error(...[err_, data].filter(Boolean));
64
64
  if (data?.report === false) {
65
65
  // Skip reporting the error
66
66
  return;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@naturalcycles/backend-lib",
3
3
  "type": "module",
4
- "version": "9.5.0",
4
+ "version": "9.5.1",
5
5
  "peerDependencies": {
6
6
  "@sentry/node": "^9"
7
7
  },
@@ -77,7 +77,7 @@ export class SentrySharedService {
77
77
 
78
78
  // Using request-aware logger here
79
79
  // Log both the error and attached ErrorData (if any)
80
- getRequestLogger().error('captureException:', ...[err_, data].filter(Boolean))
80
+ getRequestLogger().error(...[err_, data].filter(Boolean))
81
81
 
82
82
  if (data?.report === false) {
83
83
  // Skip reporting the error