enhance(backend): improve sentry integration
This commit is contained in:
parent
00157864e9
commit
8592716139
2 changed files with 8 additions and 0 deletions
|
@ -111,6 +111,7 @@ export class ApiCallService implements OnApplicationShutdown {
|
|||
|
||||
if (this.config.sentryForBackend) {
|
||||
Sentry.captureMessage(`Internal error occurred in ${ep.name}: ${err.message}`, {
|
||||
level: 'error',
|
||||
user: {
|
||||
id: userId,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue