File tree 1 file changed +9
-4
lines changed
1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -73,15 +73,20 @@ export function wrap(
73
73
74
74
// tslint:disable:no-unsafe-any
75
75
try {
76
- // Attempt to invoke user-land function
77
- // NOTE: If you are a Sentry user, and you are seeing this stack frame, it
78
- // means the sentry.javascript SDK caught an error invoking your application code. This
79
- // is expected behavior and NOT indicative of a bug with sentry.javascript.
80
76
const wrappedArguments = args . map ( ( arg : any ) => wrap ( arg , options ) ) ;
81
77
82
78
if ( fn . handleEvent ) {
79
+ // Attempt to invoke user-land function
80
+ // NOTE: If you are a Sentry user, and you are seeing this stack frame, it
81
+ // means the sentry.javascript SDK caught an error invoking your application code. This
82
+ // is expected behavior and NOT indicative of a bug with sentry.javascript.
83
83
return fn . handleEvent . apply ( this , wrappedArguments ) ;
84
84
}
85
+
86
+ // Attempt to invoke user-land function
87
+ // NOTE: If you are a Sentry user, and you are seeing this stack frame, it
88
+ // means the sentry.javascript SDK caught an error invoking your application code. This
89
+ // is expected behavior and NOT indicative of a bug with sentry.javascript.
85
90
return fn . apply ( this , wrappedArguments ) ;
86
91
// tslint:enable:no-unsafe-any
87
92
} catch ( ex ) {
You can’t perform that action at this time.
0 commit comments