File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export class InspectorController implements InstrumentationListener {
25
25
26
26
async onContextCreated ( context : BrowserContext ) : Promise < void > {
27
27
if ( isDebugMode ( ) )
28
- RecorderSupplement . getOrCreate ( context , { pauseOnNextStatement : true } ) ;
28
+ await RecorderSupplement . getOrCreate ( context , { pauseOnNextStatement : true } ) ;
29
29
}
30
30
31
31
async onBeforeCall ( sdkObject : SdkObject , metadata : CallMetadata ) : Promise < void > {
@@ -53,7 +53,7 @@ export class InspectorController implements InstrumentationListener {
53
53
}
54
54
55
55
if ( shouldOpenInspector ( sdkObject , metadata ) )
56
- RecorderSupplement . getOrCreate ( context , { pauseOnNextStatement : true } ) ;
56
+ await RecorderSupplement . getOrCreate ( context , { pauseOnNextStatement : true } ) ;
57
57
58
58
const recorder = await RecorderSupplement . getNoCreate ( context ) ;
59
59
await recorder ?. onBeforeCall ( sdkObject , metadata ) ;
You can’t perform that action at this time.
0 commit comments