1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 06:13:38 +00:00

Log full error for better debugging support (#473)

This commit is contained in:
Matt Gibson
2021-08-31 15:59:54 -04:00
committed by GitHub
parent d50531886b
commit d3ee08abb6

View File

@@ -35,6 +35,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.validationService.showError(e); this.validationService.showError(e);
}); });
} }