Skip to content

Commit

Permalink
🥅 Handle extractor errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Androz2091 committed Mar 4, 2021
1 parent 994eb7a commit c465eec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/views/Loader.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
loaded.set(true);
loadTask.set(null);
console.log(`[debug] Data extracted in ${(Date.now() - extractStartAt) / 1000} seconds.`);
}).catch((err) => {
error = true;
loading = false;
alert(err.stack);
});
}
Expand Down

0 comments on commit c465eec

Please sign in to comment.