mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-12-22 00:10:14 +00:00
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