collapse AbortErrors
This commit is contained in:
parent
d867c2089b
commit
5171ba7113
@ -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}`;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user