|
@ -33,8 +33,8 @@ export class ErrorService { |
|
|
this.setFieldError(form, fieldName, message); |
|
|
this.setFieldError(form, fieldName, message); |
|
|
} |
|
|
} |
|
|
} else { |
|
|
} else { |
|
|
const message = element.message; |
|
|
this.translateService.get(element.message || 'message.unknownErrors') |
|
|
this.notificationService.error(message); |
|
|
.subscribe(msg => this.notificationService.error(msg)); |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|