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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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