mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58: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;
|
response = response as TokenResponse;
|
||||||
|
|
||||||
context.cache.add([response], (err, result) => {
|
context.cache.add([response], (err, result) => {
|
||||||
console.log(err, result);
|
if (err || !result) {
|
||||||
|
console.log(`Unexpected error adding token to cache ${err}`);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
return response;
|
return response;
|
||||||
|
|||||||
Reference in New Issue
Block a user