File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -812,8 +812,7 @@ export class ReplayContainer implements ReplayContainerInterface {
812812 // In this case, we want to completely stop the replay - otherwise, we may get inconsistent segments
813813 this . stop ( ) ;
814814
815- const hub = getCurrentHub ( ) ;
816- const client = hub . getClient ( ) ;
815+ const client = getCurrentHub ( ) . getClient ( ) ;
817816
818817 if ( client ) {
819818 client . recordDroppedEvent ( 'send_error' , 'replay' ) ;
Original file line number Diff line number Diff line change @@ -48,8 +48,7 @@ export async function addEvent(
4848 __DEBUG_BUILD__ && logger . error ( error ) ;
4949 replay . stop ( ) ;
5050
51- const hub = getCurrentHub ( ) ;
52- const client = hub . getClient ( ) ;
51+ const client = getCurrentHub ( ) . getClient ( ) ;
5352
5453 if ( client ) {
5554 client . recordDroppedEvent ( 'internal_sdk_error' , 'replay' ) ;
You can’t perform that action at this time.
0 commit comments