collapse AbortErrors

This commit is contained in:
Hazel K 2024-10-08 10:43:58 -04:00
parent d867c2089b
commit 5171ba7113

View file

@ -130,7 +130,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}`;
}