1
0
Fork 0
mirror of synced 2024-10-03 10:36:59 +13:00

Surface error message from attachments API to user.

This commit is contained in:
Sam Rose 2023-10-30 16:55:57 +00:00
parent af59039d1c
commit ca9491ce67
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@
try {
return await API.uploadBuilderAttachment(data)
} catch (error) {
notifications.error("Failed to upload attachment")
notifications.error(error.message || "Failed to upload attachment")
return []
}
}

View file

@ -55,7 +55,7 @@
try {
return await API.uploadBuilderAttachment(data)
} catch (error) {
$notifications.error("Failed to upload attachment")
$notifications.error(error.message || "Failed to upload attachment")
return []
}
}