further condense error details
This commit is contained in:
parent
d8e1e4890d
commit
d867c2089b
1 changed files with 1 additions and 4 deletions
|
@ -131,10 +131,7 @@ export class QueueProcessorService implements OnApplicationShutdown {
|
|||
if (!e) return '?';
|
||||
|
||||
if (e instanceof Bull.UnrecoverableError) {
|
||||
return {
|
||||
message: e.message,
|
||||
name: 'Bull.UnrecoverableError',
|
||||
};
|
||||
return `${e.name}: ${e.message}`;
|
||||
}
|
||||
|
||||
return {
|
||||
|
|
Loading…
Reference in a new issue