Skip to content

Commit a07bc49

Browse files
author
cod1k
committed
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.
1 parent 56c9fcb commit a07bc49

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/core/src/exports.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,8 @@ export function withMonitor<T>(
179179
() => {
180180
finishCheckIn('ok');
181181
},
182-
e => {
182+
() => {
183183
finishCheckIn('error');
184-
throw e;
185184
},
186185
);
187186
} else {

0 commit comments

Comments
 (0)