Skip to content

Commit

Permalink
always log errors to console
Browse files Browse the repository at this point in the history
  • Loading branch information
radek00 committed Nov 11, 2023
1 parent 511b3cb commit 66e8b58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SecureSend/ClientApp/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const isLoading = ref<boolean>(false);
app.provide("isLoading", isLoading);

app.config.errorHandler = (err) => {
if (import.meta.env.DEV) console.log(err);
console.error(err);
isLoading!.value = false;
openDanger("Something went wrong");
};
Expand Down

0 comments on commit 66e8b58

Please sign in to comment.