collapse AbortErrors
This commit is contained in:
parent
d867c2089b
commit
5171ba7113
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue