From 4ec2b1bcb4fc1be75e3db76f5ffdf65e58d42979 Mon Sep 17 00:00:00 2001 From: Nate Date: Wed, 26 Nov 2025 11:46:12 -0800 Subject: [PATCH] fix: no duplicate sentry error --- extensions/cli/src/index.ts | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/extensions/cli/src/index.ts b/extensions/cli/src/index.ts index a76a2fdc4..76fef86d0 100644 --- a/extensions/cli/src/index.ts +++ b/extensions/cli/src/index.ts @@ -110,19 +110,13 @@ process.on("unhandledRejection", (reason, promise) => { }); } - // Sentry capture remains the same - sentryService.captureException( - reason instanceof Error ? reason : new Error(String(reason)), - { - promise: String(promise), - }, - ); + // Note: Sentry capture is handled by logger.error() above // Don't exit the process, just log the error }); process.on("uncaughtException", (error) => { logger.error("Uncaught Exception:", error); - sentryService.captureException(error); + // Note: Sentry capture is handled by logger.error() above // Don't exit the process, just log the error });