Skip to content

Commit c08754d

Browse files
authored
update cache miss to warning from error (#7657)
NAA customer request to update cache miss as warning in logs instead of error. Having `error` in log is confusing since the token request proceeds without throwing.
1 parent c79920f commit c08754d

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "update cache miss to warning from error",
4+
"packageName": "@azure/msal-browser",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}

Diff for: lib/msal-browser/src/controllers/NestedAppAuthController.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ export class NestedAppAuthController implements IController {
437437
return result;
438438
}
439439

440-
this.logger.error(
440+
this.logger.warning(
441441
"Cached tokens are not found for the account, proceeding with silent token request."
442442
);
443443

0 commit comments

Comments
 (0)