diff --git a/arches_references/src/arches_references/components/editor/ItemImages.vue b/arches_references/src/arches_references/components/editor/ItemImages.vue index 4ea81b8..9062183 100644 --- a/arches_references/src/arches_references/components/editor/ItemImages.vue +++ b/arches_references/src/arches_references/components/editor/ItemImages.vue @@ -61,6 +61,7 @@ const showError = (event?: FileUploadErrorEvent | FileUploadUploadEvent) => { severity: ERROR, life: DEFAULT_ERROR_TOAST_LIFE, summary: event?.xhr?.statusText || $gettext("Image upload failed"), + detail: JSON.parse(event?.xhr?.responseText ?? "{}").message, }); };