feat: display information from the server to the client
This commit is contained in:
parent
31f3a9d120
commit
194e8b0070
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user