1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 17:53:39 +00:00

chore(logs): Update "SSO login email not found" log level to debug

* Update log level to debug

* Fixed test.
This commit is contained in:
Todd Martin
2025-12-02 15:16:09 -05:00
committed by GitHub
parent 44e3320a67
commit dd623b136b
2 changed files with 2 additions and 2 deletions

View File

@@ -71,7 +71,7 @@ describe("DefaultLoginSuccessHandlerService", () => {
it("should log error and return early", async () => {
await service.run(userId);
expect(logService.error).toHaveBeenCalledWith("SSO login email not found.");
expect(logService.debug).toHaveBeenCalledWith("SSO login email not found.");
expect(ssoLoginService.updateSsoRequiredCache).not.toHaveBeenCalled();
});
});

View File

@@ -25,7 +25,7 @@ export class DefaultLoginSuccessHandlerService implements LoginSuccessHandlerSer
const ssoLoginEmail = await this.ssoLoginService.getSsoEmail();
if (!ssoLoginEmail) {
this.logService.error("SSO login email not found.");
this.logService.debug("SSO login email not found.");
return;
}