Adds print error in case of get broken dataset profile
This commit is contained in:
parent
c943a2d297
commit
abd8fcf25f
|
@ -85,8 +85,9 @@ export class DatasetProfileEditorComponent extends BaseComponent implements OnIn
|
|||
this.form = this.dataModel.buildForm();
|
||||
}
|
||||
this.prepareForm();
|
||||
} catch {
|
||||
} catch (error) {
|
||||
this.logger.error('Could not parse MasterItem: ' + data);
|
||||
console.log(error)
|
||||
this.uiNotificationService.snackBarNotification(this.language.instant('NOTIFICATIONS.DEFAULT.ERROR'), SnackBarNotificationLevel.Error);
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue