diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-12-08 15:44:37 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-12-08 15:44:37 +0900 |
| commit | 988f5ab69fe2f31952269fed158f4aa285e46475 (patch) | |
| tree | 2972492823f17db89b3e476ad66012f244ee52a5 | |
| parent | Update CHANGELOG.md [ci skip] (diff) | |
| download | misskey-988f5ab69fe2f31952269fed158f4aa285e46475.tar.gz misskey-988f5ab69fe2f31952269fed158f4aa285e46475.tar.bz2 misskey-988f5ab69fe2f31952269fed158f4aa285e46475.zip | |
fix(backend): ジョブキューでSentryが有効にならない問題を修正
| -rw-r--r-- | CHANGELOG.md | 2 | ||||
| -rw-r--r-- | packages/backend/src/queue/QueueProcessorService.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 95b9aa6c58..cf2e910d41 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ - Fix: 初回読み込み時などに、言語設定で不整合が発生することがある問題を修正 ### Server -- +- Fix: ジョブキューでSentryが有効にならない問題を修正 ## 2025.12.0 diff --git a/packages/backend/src/queue/QueueProcessorService.ts b/packages/backend/src/queue/QueueProcessorService.ts index 306fdb41f6..2b3b3fc0ad 100644 --- a/packages/backend/src/queue/QueueProcessorService.ts +++ b/packages/backend/src/queue/QueueProcessorService.ts @@ -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; }); |