diff --git a/dmp-frontend/src/app/ui/admin/dataset-profile/editor/dataset-profile-editor.component.ts b/dmp-frontend/src/app/ui/admin/dataset-profile/editor/dataset-profile-editor.component.ts index 5d6d75a02..ceabf190f 100644 --- a/dmp-frontend/src/app/ui/admin/dataset-profile/editor/dataset-profile-editor.component.ts +++ b/dmp-frontend/src/app/ui/admin/dataset-profile/editor/dataset-profile-editor.component.ts @@ -366,7 +366,7 @@ export class DatasetProfileEditorComponent extends BaseComponent implements OnIn if (typeof errors[keyError] === 'boolean') { this.errorMessages.push(numbering + ' ' + key + ' is ' + keyError); } else { - this.errorMessages.push(numbering + ' ' + key + ': ' + keyError + ': ' + errors[keyError]); + this.errorMessages.push(numbering + ' ' + key + ': ' + keyError + ': ' + JSON.stringify(errors[keyError])); } }); } else {