Skip to content

Commit e95408c

Browse files
committed
update capture exception mechanism
1 parent e10cbe3 commit e95408c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/cloudflare/src/handler.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export function withSentry<E extends ExportedHandler<any>>(
101101
setHttpStatus(span, res.status);
102102
return res;
103103
} catch (e) {
104-
captureException(e, { mechanism: { handled: false } });
104+
captureException(e, { mechanism: { handled: false, type: 'cloudflare' } });
105105
throw e;
106106
} finally {
107107
context.waitUntil(flush(2000));

0 commit comments

Comments
 (0)