Skip to content

Commit

Permalink
Re-throw error after ahdnling check-ins
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiborza committed Nov 5, 2024
1 parent d045ba1 commit be36a22
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/core/src/exports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,9 @@ export function withMonitor<T>(
() => {
finishCheckIn('ok');
},
() => {
e => {
finishCheckIn('error');
throw e;
},
);
} else {
Expand Down

0 comments on commit be36a22

Please sign in to comment.