animl-frontend
animl-frontend copied to clipboard
Better UI for `batcherrors`
Right now if a batcherror occurs (e.g., the zip file is corrupted or there's an unhandled exception thrown by our batch processing code) we just haphazardly tack on a vague error message to the upload table.
If we have any info that would be helpful to the user we should display it. For reference, a corrupted zip file batcherror looks like this:
{
"_id": "8bd966e6-f1c5-4949-8c46-2ba3b52b7fea",
"batch": "batch-b3782175-becf-435b-a9e1-82dfd4d962a0",
"error": "Bad archive",
"created": {
"$date": "2024-08-21T13:39:28.597Z"
},
"__v": 0
}