Skip to content

Commit be36a22

Browse files
committed
Re-throw error after ahdnling check-ins
1 parent d045ba1 commit be36a22

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/core/src/exports.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,9 @@ export function withMonitor<T>(
189189
() => {
190190
finishCheckIn('ok');
191191
},
192-
() => {
192+
e => {
193193
finishCheckIn('error');
194+
throw e;
194195
},
195196
);
196197
} else {

0 commit comments

Comments
 (0)