From a07bc4963e6142bc6fe9379438dd6c2ba80533ac Mon Sep 17 00:00:00 2001 From: cod1k Date: Fri, 27 Jun 2025 17:20:13 +0300 Subject: [PATCH] Simplify error handling in finishCheckIn callback. Replaced the error callback to streamline behavior by removing the unnecessary error throwing. This ensures a cleaner flow while maintaining intended functionality. --- packages/core/src/exports.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/core/src/exports.ts b/packages/core/src/exports.ts index 92e4d09d4d81..5fe973be8643 100644 --- a/packages/core/src/exports.ts +++ b/packages/core/src/exports.ts @@ -179,9 +179,8 @@ export function withMonitor( () => { finishCheckIn('ok'); }, - e => { + () => { finishCheckIn('error'); - throw e; }, ); } else {