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 });