collapse AbortErrors

(cherry picked from commit 5171ba7113ebc7242527768afb9ab4cec534e3b3)
This commit is contained in:
Hazel K 2024-10-08 10:43:58 -04:00 committed by kakkokari-gtyih
parent 87c03cf4d5
commit 33eb3fcfc5
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ export class QueueProcessorService implements OnApplicationShutdown {
// 何故かeがundefinedで来ることがある
if (!e) return '?';
if (e instanceof Bull.UnrecoverableError) {
if (e instanceof Bull.UnrecoverableError || e.name === 'AbortError') {
return `${e.name}: ${e.message}`;
}