@naturalcycles/backend-lib 4.14.1 → 4.14.2
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.
|
@@ -81,7 +81,6 @@ class SentrySharedService {
|
|
|
81
81
|
// It's a Breadcrumb, not a console.log, because console.log are NOT automatically attached as Breadcrumbs in cron-job environments (outside of Express)
|
|
82
82
|
this.sentry().addBreadcrumb({
|
|
83
83
|
message: (0, nodejs_lib_1.inspectAny)(err, {
|
|
84
|
-
includeErrorData: true,
|
|
85
84
|
colors: false,
|
|
86
85
|
}),
|
|
87
86
|
// data: (err as AppError).data, // included in message
|
|
@@ -112,7 +111,6 @@ class SentrySharedService {
|
|
|
112
111
|
error: (...args) => {
|
|
113
112
|
const message = args
|
|
114
113
|
.map(arg => (0, nodejs_lib_1.inspectAny)(arg, {
|
|
115
|
-
includeErrorData: true,
|
|
116
114
|
colors: false,
|
|
117
115
|
}))
|
|
118
116
|
.join(' ');
|
package/package.json
CHANGED
|
@@ -93,7 +93,6 @@ export 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: inspectAny(err, {
|
|
96
|
-
includeErrorData: true,
|
|
97
96
|
colors: false,
|
|
98
97
|
}),
|
|
99
98
|
// data: (err as AppError).data, // included in message
|
|
@@ -129,7 +128,6 @@ export class SentrySharedService {
|
|
|
129
128
|
const message = args
|
|
130
129
|
.map(arg =>
|
|
131
130
|
inspectAny(arg, {
|
|
132
|
-
includeErrorData: true,
|
|
133
131
|
colors: false,
|
|
134
132
|
}),
|
|
135
133
|
)
|