mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-12-22 08:20:10 +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) return '?';
|
||||||
|
|
||||||
if (e instanceof Bull.UnrecoverableError) {
|
if (e instanceof Bull.UnrecoverableError) {
|
||||||
return {
|
return `${e.name}: ${e.message}`;
|
||||||
message: e.message,
|
|
||||||
name: 'Bull.UnrecoverableError',
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in a new issue