Skip to content

Commit

Permalink
fix(core): Handle all uncaught exception, not just the ones from Axios (
Browse files Browse the repository at this point in the history
  • Loading branch information
netroy committed Jul 19, 2023
1 parent ceb8c85 commit 975fc05
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/cli/src/ErrorReporting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ export const initErrorHandling = async () => {

process.on('uncaughtException', (error) => {
ErrorReporterProxy.error(error);
if (error.constructor?.name !== 'AxiosError') throw error;
});

ErrorReporterProxy.init({
Expand Down

0 comments on commit 975fc05

Please sign in to comment.