-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ENH] specify contact info when upload errors occur
- Loading branch information
Dan Levitas
committed
Feb 14, 2024
1 parent
8684b56
commit ca9448a
Showing
2 changed files
with
10 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 ([email protected]) or https://github.com/brainlife/ezbids/issues for assistance | ||
exit 1 | ||
fi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,7 +81,9 @@ | |
</h3> | ||
<small>Please do not close or refresh this page until all files are uploaded.</small> | ||
<div v-if="failed.length > 0"> | ||
<el-alert type="error">Permanently failed to upload some files</el-alert> | ||
<el-alert type="error" | ||
>Permanently failed to upload some files, please email [email protected] for assistance</el-alert | ||
> | ||
<pre v-for="idx in failed" :key="idx" type="info" style="font-size: 80%">{{ files[idx].path }}</pre> | ||
</div> | ||
|
||
|
@@ -146,7 +148,9 @@ | |
</div> | ||
|
||
<div v-if="session.status == 'failed'"> | ||
<el-alert type="error">ezBIDS failed.. Please check the Debug logs and contact ezBIDS team.</el-alert> | ||
<el-alert type="error" | ||
>ezBIDS failed.. Please check the Debug logs and contact ezBIDS team ([email protected]).</el-alert | ||
> | ||
<br /> | ||
<pre class="status">{{ session.status_msg }}</pre> | ||
</div> | ||
|
@@ -185,7 +189,9 @@ | |
</div> | ||
<div v-if="!ezbids.notLoaded && !ezbids.objects.length"> | ||
<el-alert type="error" | ||
>We couldn't find any objects. Please upload data that contains at least 1 object.</el-alert | ||
>We couldn't find any objects. Please upload data that contains at least 1 object. Contact the | ||
ezBIDS team ([email protected]) or https://github.com/brainlife/ezbids/issues for | ||
support</el-alert | ||
> | ||
</div> | ||
</div> | ||
|