diff --git a/src/services/api.service.ts b/src/services/api.service.ts index 4726182..eaea148 100644 --- a/src/services/api.service.ts +++ b/src/services/api.service.ts @@ -78,6 +78,9 @@ export class ApiService { message = `Сервер вернул код ошибки: ${error.status}`; break; } + if (error.error?.Error) { + message += ` ${error.error.Error}`; + } } this.notify.open(message, NotifyColor.Danger); }