fix(backend): ジョブキューでSentryが有効にならない問題を修正

This commit is contained in:
syuilo
2025-12-08 15:44:37 +09:00
parent 3afe7c5348
commit 988f5ab69f
2 changed files with 2 additions and 2 deletions

View File

@@ -157,7 +157,7 @@ export class QueueProcessorService implements OnApplicationShutdown {
}
let Sentry: typeof import('@sentry/node') | undefined;
if (Sentry != null) {
if (this.config.sentryForBackend) {
import('@sentry/node').then((mod) => {
Sentry = mod;
});