mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 14:44:05 -08:00
fix(core): Handle all uncaught exception, not just the ones from Axios (#6666)
This commit is contained in:
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({
|
||||
|
|
Loading…
Reference in a new issue