diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2024-06-07 13:15:37 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2024-06-07 13:15:37 +0900 |
| commit | 859271613958cc4a9bc8fcd9616c3146c07a50a4 (patch) | |
| tree | e230a5c9bf5c080a236618e9af3502def7ab812f /packages/backend/src/server/api | |
| parent | fix(backend): チャート生成時にinstance.isSuspendedが読まれてし... (diff) | |
| download | sharkey-859271613958cc4a9bc8fcd9616c3146c07a50a4.tar.gz sharkey-859271613958cc4a9bc8fcd9616c3146c07a50a4.tar.bz2 sharkey-859271613958cc4a9bc8fcd9616c3146c07a50a4.zip | |
enhance(backend): improve sentry integration
Diffstat (limited to 'packages/backend/src/server/api')
| -rw-r--r-- | packages/backend/src/server/api/ApiCallService.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/backend/src/server/api/ApiCallService.ts b/packages/backend/src/server/api/ApiCallService.ts index e21a5e90ab..166f9c8675 100644 --- a/packages/backend/src/server/api/ApiCallService.ts +++ b/packages/backend/src/server/api/ApiCallService.ts @@ -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, }, |