mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
fix(core): Handle all uncaught exception, not just the ones from Axios (#6666)
This commit is contained in:
committed by
GitHub
parent
c0b1cb273e
commit
ff0759530d
@@ -46,7 +46,6 @@ export const initErrorHandling = async () => {
|
||||
|
||||
process.on('uncaughtException', (error) => {
|
||||
ErrorReporterProxy.error(error);
|
||||
if (error.constructor?.name !== 'AxiosError') throw error;
|
||||
});
|
||||
|
||||
ErrorReporterProxy.init({
|
||||
|
||||
Reference in New Issue
Block a user