From 493829b3eedba32aa965f70f6315acd6e63d24af Mon Sep 17 00:00:00 2001 From: tamaina Date: Mon, 4 Mar 2024 13:44:21 +0000 Subject: [PATCH] truncate stack --- packages/backend/src/queue/QueueProcessorService.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/backend/src/queue/QueueProcessorService.ts b/packages/backend/src/queue/QueueProcessorService.ts index dd151af402..7c81307a7c 100644 --- a/packages/backend/src/queue/QueueProcessorService.ts +++ b/packages/backend/src/queue/QueueProcessorService.ts @@ -76,6 +76,7 @@ function renderError(e: Error): any { acc[key] = e[key]; return acc; }, {} as Record), + stack: e.stack?.split('\n').map(s => s.trim()), }; } else { return {