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

@ -7,7 +7,7 @@
- Fix: 初回読み込み時などに、言語設定で不整合が発生することがある問題を修正 - Fix: 初回読み込み時などに、言語設定で不整合が発生することがある問題を修正
### Server ### Server
- - Fix: ジョブキューでSentryが有効にならない問題を修正
## 2025.12.0 ## 2025.12.0

View File

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