From 9c1280d0945bb645d04d4a37df5e06856b3c66bf Mon Sep 17 00:00:00 2001 From: Paul D'Ambra Date: Mon, 30 Oct 2023 23:52:12 +0000 Subject: [PATCH] simpler than that --- plugin-server/src/main/pluginsServer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin-server/src/main/pluginsServer.ts b/plugin-server/src/main/pluginsServer.ts index b57eac5cfd235..7ce4d51e97ca3 100644 --- a/plugin-server/src/main/pluginsServer.ts +++ b/plugin-server/src/main/pluginsServer.ts @@ -184,7 +184,7 @@ export async function startPluginsServer( ]) process.on('unhandledRejection', (error: Error | any, promise: Promise) => { - status.error('🤮', `Unhandled Promise Rejection: ${error?.stack || error} for promise: ${promise}`) + status.error('🤮', `Unhandled Promise Rejection: ${error} for promise: ${promise}`) if (error instanceof KafkaJSProtocolError) { kafkaProtocolErrors.inc({