Skip to content

Commit b19a33f

Browse files
Update packages/instrumentation-web-exception/src/instrumentation.ts
Co-authored-by: Jared Freeze <[email protected]>
1 parent 2f62ac6 commit b19a33f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/instrumentation-web-exception/src/instrumentation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export class ExceptionInstrumentation extends InstrumentationBase<GlobalErrorsIn
5252

5353
init() { }
5454

55-
onError( event: ErrorEvent | PromiseRejectionEvent) {
55+
onError(event: ErrorEvent | PromiseRejectionEvent) {
5656
const EXCEPTION_EVENT_NAME = 'exception';
5757
const error: Error | string | undefined =
5858
'reason' in event ? event.reason : event.error;

0 commit comments

Comments
 (0)