Skip to content

Commit

Permalink
fix: avoid generic error toast on unknown errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jimcase committed Feb 7, 2025
1 parent e827f9c commit 3ff0c73
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ui/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ const App = () => {

const handleUnknownError = (event: ErrorEvent) => {
event.preventDefault();
showError("Unhandled error", event.error, dispatch);
/* eslint-disable no-console */
console.error("Unhandled error", event.error);
// showError("Unhandled error", event.error, dispatch);
}

window.addEventListener("error", handleUnknownError)
Expand Down

0 comments on commit 3ff0c73

Please sign in to comment.