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 {
812
812
// In this case, we want to completely stop the replay - otherwise, we may get inconsistent segments
813
813
this . stop ( ) ;
814
814
815
- const hub = getCurrentHub ( ) ;
816
- const client = hub . getClient ( ) ;
815
+ const client = getCurrentHub ( ) . getClient ( ) ;
817
816
818
817
if ( client ) {
819
818
client . recordDroppedEvent ( 'send_error' , 'replay' ) ;
Original file line number Diff line number Diff line change @@ -48,8 +48,7 @@ export async function addEvent(
48
48
__DEBUG_BUILD__ && logger . error ( error ) ;
49
49
replay . stop ( ) ;
50
50
51
- const hub = getCurrentHub ( ) ;
52
- const client = hub . getClient ( ) ;
51
+ const client = getCurrentHub ( ) . getClient ( ) ;
53
52
54
53
if ( client ) {
55
54
client . recordDroppedEvent ( 'internal_sdk_error' , 'replay' ) ;
You can’t perform that action at this time.
0 commit comments