Skip to content

Commit

Permalink
enh: display error popup when import preview fails
Browse files Browse the repository at this point in the history
Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
  • Loading branch information
enjeck committed Nov 16, 2024
1 parent 4789982 commit 8021e43
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/modules/modals/Import.vue
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ export default {
console.debug('error while importing', res)
}
} catch (e) {
showError(t('tables', 'Could not import data due to unknown errors.'))
console.error(e)
return false
}
Expand Down Expand Up @@ -329,6 +330,7 @@ export default {
console.debug('error while importing', res)
}
} catch (e) {
showError(t('tables', 'Could not import data due to unknown errors.'))
console.error(e)
return false
}
Expand Down

0 comments on commit 8021e43

Please sign in to comment.