fix(core): Handle all uncaught exception, not just the ones from Axios (#6666)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2023-07-14 13:10:25 +02:00 committed by GitHub
parent c0b1cb273e
commit ff0759530d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,7 +46,6 @@ export const initErrorHandling = async () => {
process.on('uncaughtException', (error) => {
ErrorReporterProxy.error(error);
if (error.constructor?.name !== 'AxiosError') throw error;
});
ErrorReporterProxy.init({