From 6faa9f58ededd6cf0c9b2d52dca9b06241316a05 Mon Sep 17 00:00:00 2001 From: Matt Gibson Date: Tue, 6 Aug 2024 09:43:39 -0400 Subject: [PATCH] Log full api error (#10409) --- libs/angular/src/directives/api-action.directive.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }, );