From ff0759530df3780e8eb53a29ec4ab4e98e5755c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=A4=95=E0=A4=BE=E0=A4=B0=E0=A4=A4=E0=A5=8B=E0=A4=AB?= =?UTF-8?q?=E0=A5=8D=E0=A4=AB=E0=A5=87=E0=A4=B2=E0=A4=B8=E0=A5=8D=E0=A4=95?= =?UTF-8?q?=E0=A5=8D=E0=A4=B0=E0=A4=BF=E0=A4=AA=E0=A5=8D=E0=A4=9F=E2=84=A2?= Date: Fri, 14 Jul 2023 13:10:25 +0200 Subject: [PATCH] fix(core): Handle all uncaught exception, not just the ones from Axios (#6666) --- packages/cli/src/ErrorReporting.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/cli/src/ErrorReporting.ts b/packages/cli/src/ErrorReporting.ts index ab40038080..0388be4fc0 100644 --- a/packages/cli/src/ErrorReporting.ts +++ b/packages/cli/src/ErrorReporting.ts @@ -46,7 +46,6 @@ export const initErrorHandling = async () => { process.on('uncaughtException', (error) => { ErrorReporterProxy.error(error); - if (error.constructor?.name !== 'AxiosError') throw error; }); ErrorReporterProxy.init({