diff --git a/libs/angular/src/directives/api-action.directive.ts b/libs/angular/src/directives/api-action.directive.ts index d7814b7542..2c14dbac32 100644 --- a/libs/angular/src/directives/api-action.directive.ts +++ b/libs/angular/src/directives/api-action.directive.ts @@ -42,7 +42,7 @@ export class ApiActionDirective implements OnChanges { this.logService.error("Captcha required error response: " + e.getSingleMessage()); return; } - this.logService?.error(`Received API exception: ${e}`); + this.logService?.error(`Received API exception:`, e); this.validationService.showError(e); }, );