From ca9448a62439b16edfbe9f3675c6c92aad86074f Mon Sep 17 00:00:00 2001 From: Dan Levitas Date: Wed, 14 Feb 2024 16:17:41 +0000 Subject: [PATCH] [ENH] specify contact info when upload errors occur --- handler/preprocess.sh | 1 + ui/src/Upload.vue | 12 +++++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/handler/preprocess.sh b/handler/preprocess.sh index cf52e71a..fd8ed1d4 100755 --- a/handler/preprocess.sh +++ b/handler/preprocess.sh @@ -230,6 +230,7 @@ else if [ ! -s $root/list ]; then echo "Could not find any MRI (or PET) DICOM files in upload. Uploaded files likely do not conform to DICOM format, aborting" + echo "Please contact the ezBIDS team (dlevitas@iu.edu) or https://github.com/brainlife/ezbids/issues for assistance exit 1 fi diff --git a/ui/src/Upload.vue b/ui/src/Upload.vue index 1d180660..848cd232 100644 --- a/ui/src/Upload.vue +++ b/ui/src/Upload.vue @@ -81,7 +81,9 @@ Please do not close or refresh this page until all files are uploaded.
- Permanently failed to upload some files + Permanently failed to upload some files, please email dlevitas@iu.edu for assistance
{{ files[idx].path }}
@@ -146,7 +148,9 @@
- ezBIDS failed.. Please check the Debug logs and contact ezBIDS team. + ezBIDS failed.. Please check the Debug logs and contact ezBIDS team (dlevitas@iu.edu).
{{ session.status_msg }}
@@ -185,7 +189,9 @@
We couldn't find any objects. Please upload data that contains at least 1 object.We couldn't find any objects. Please upload data that contains at least 1 object. Contact the + ezBIDS team (dlevitas@iu.edu) or https://github.com/brainlife/ezbids/issues for + support