mirror of
https://github.com/n8n-io/n8n.git
synced 2026-09-17 17:42:47 +08:00
fix(core): Handle all uncaught exception, not just the ones from Axios (#6666)
This commit is contained in:
@@ -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