Skip to content

Commit

Permalink
download: catch possible errors
Browse files Browse the repository at this point in the history
  • Loading branch information
100Daisy committed Oct 14, 2023
1 parent d867178 commit cdb1c95
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions App.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ export default function App() {
.then((resp) => {
resp.path()
})
.catch((err) => {
trigger('notificationError')
setSnackbar(true)
setSnackbarText(`Error downloading ${item["Name"]}`)
})
}

function getLatestTSV(console) {
Expand Down

0 comments on commit cdb1c95

Please sign in to comment.