mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 02:48:30 -05:00
Only log if an actual error occurred (#8979)
This commit is contained in:
@@ -78,7 +78,9 @@ export class AzureAccountProvider implements azdata.AccountProvider {
|
||||
response = response as TokenResponse;
|
||||
|
||||
context.cache.add([response], (err, result) => {
|
||||
console.log(err, result);
|
||||
if (err || !result) {
|
||||
console.log(`Unexpected error adding token to cache ${err}`);
|
||||
}
|
||||
});
|
||||
|
||||
return response;
|
||||
|
||||
Reference in New Issue
Block a user