File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/integrations/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ export class Ember implements Integration {
42
42
if ( getCurrentHub ( ) . getIntegration ( Ember ) ) {
43
43
getCurrentHub ( ) . withScope ( scope => {
44
44
this . _addIntegrationToSdkInfo ( scope ) ;
45
- getCurrentHub ( ) . captureException ( error ) ;
45
+ getCurrentHub ( ) . captureException ( error , { originalException : error } ) ;
46
46
} ) ;
47
47
}
48
48
@@ -61,7 +61,7 @@ export class Ember implements Integration {
61
61
if ( reason instanceof Error ) {
62
62
scope . setExtra ( 'context' , 'Unhandled Promise error detected' ) ;
63
63
this . _addIntegrationToSdkInfo ( scope ) ;
64
- getCurrentHub ( ) . captureException ( reason ) ;
64
+ getCurrentHub ( ) . captureException ( reason , { originalException : reason } ) ;
65
65
} else {
66
66
scope . setExtra ( 'reason' , reason ) ;
67
67
this . _addIntegrationToSdkInfo ( scope ) ;
You can’t perform that action at this time.
0 commit comments