Skip to content

Commit

Permalink
further condense error details
Browse files Browse the repository at this point in the history
  • Loading branch information
warriordog committed Oct 8, 2024
1 parent d8e1e48 commit d867c20
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/backend/src/queue/QueueProcessorService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d867c20

Please sign in to comment.