1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 06:43:35 +00: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

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);
}, },
); );