File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -73,15 +73,20 @@ export function wrap(
7373
7474 // tslint:disable:no-unsafe-any
7575 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.
8076 const wrappedArguments = args . map ( ( arg : any ) => wrap ( arg , options ) ) ;
8177
8278 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.
8383 return fn . handleEvent . apply ( this , wrappedArguments ) ;
8484 }
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.
8590 return fn . apply ( this , wrappedArguments ) ;
8691 // tslint:enable:no-unsafe-any
8792 } catch ( ex ) {
You can’t perform that action at this time.
0 commit comments