Skip to content

Commit

Permalink
Get error message and display error correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
estebangallego committed Oct 22, 2024
1 parent a7bc0f0 commit eb0b8ac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/renderer/file-upload.vue
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,10 @@ export default {
}
if (displayMessage.length > 0) {
const data = JSON.parse(displayMessage);
if (data.message) {
displayMessage = data.message;
}
window.ProcessMaker.alert(`${this.$t('File Upload Error:')} ${displayMessage}`, 'danger');
}
Expand Down

0 comments on commit eb0b8ac

Please sign in to comment.