File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -421,6 +421,11 @@ export async function activate(ctx: vscode.ExtensionContext): Promise<void> {
421
421
const url = storage . getUrl ( ) ;
422
422
const token = await storage . getSessionToken ( ) ;
423
423
424
+ storage . output . info ( "Auth sync called!" ) ;
425
+ output . info (
426
+ `Auth sync triggered: url=${ url ? "present" : "none" } , token=${ token ? "present" : "none" } ` ,
427
+ ) ;
428
+
424
429
// Update the REST client with current credentials
425
430
restClient . setHost ( url || "" ) ;
426
431
restClient . setSessionToken ( token || "" ) ;
@@ -462,6 +467,7 @@ export async function activate(ctx: vscode.ExtensionContext): Promise<void> {
462
467
ctx . subscriptions . push (
463
468
ctx . secrets . onDidChange ( ( e ) => {
464
469
if ( e . key === "sessionToken" ) {
470
+ output . info ( "Session token changed, syncing auth state" ) ;
465
471
syncAuth ( ) ;
466
472
}
467
473
} ) ,
You can’t perform that action at this time.
0 commit comments