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 {
4242 if ( getCurrentHub ( ) . getIntegration ( Ember ) ) {
4343 getCurrentHub ( ) . withScope ( scope => {
4444 this . _addIntegrationToSdkInfo ( scope ) ;
45- getCurrentHub ( ) . captureException ( error ) ;
45+ getCurrentHub ( ) . captureException ( error , { originalException : error } ) ;
4646 } ) ;
4747 }
4848
@@ -61,7 +61,7 @@ export class Ember implements Integration {
6161 if ( reason instanceof Error ) {
6262 scope . setExtra ( 'context' , 'Unhandled Promise error detected' ) ;
6363 this . _addIntegrationToSdkInfo ( scope ) ;
64- getCurrentHub ( ) . captureException ( reason ) ;
64+ getCurrentHub ( ) . captureException ( reason , { originalException : reason } ) ;
6565 } else {
6666 scope . setExtra ( 'reason' , reason ) ;
6767 this . _addIntegrationToSdkInfo ( scope ) ;
You can’t perform that action at this time.
0 commit comments