1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-11 10:10:25 +01:00

Log full api error (#10409)

This commit is contained in:
Matt Gibson 2024-08-06 09:43:39 -04:00 committed by GitHub
parent b0c938ea7e
commit 6faa9f58ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -42,7 +42,7 @@ export class ApiActionDirective implements OnChanges {
this.logService.error("Captcha required error response: " + e.getSingleMessage()); this.logService.error("Captcha required error response: " + e.getSingleMessage());
return; return;
} }
this.logService?.error(`Received API exception: ${e}`); this.logService?.error(`Received API exception:`, e);
this.validationService.showError(e); this.validationService.showError(e);
}, },
); );