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> {
421421 const url = storage . getUrl ( ) ;
422422 const token = await storage . getSessionToken ( ) ;
423423
424+ storage . output . info ( "Auth sync called!" ) ;
425+ output . info (
426+ `Auth sync triggered: url=${ url ? "present" : "none" } , token=${ token ? "present" : "none" } ` ,
427+ ) ;
428+
424429 // Update the REST client with current credentials
425430 restClient . setHost ( url || "" ) ;
426431 restClient . setSessionToken ( token || "" ) ;
@@ -462,6 +467,7 @@ export async function activate(ctx: vscode.ExtensionContext): Promise<void> {
462467 ctx . subscriptions . push (
463468 ctx . secrets . onDidChange ( ( e ) => {
464469 if ( e . key === "sessionToken" ) {
470+ output . info ( "Session token changed, syncing auth state" ) ;
465471 syncAuth ( ) ;
466472 }
467473 } ) ,
You can’t perform that action at this time.
0 commit comments