mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +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) => {
|
process.on('uncaughtException', (error) => {
|
||||||
ErrorReporterProxy.error(error);
|
ErrorReporterProxy.error(error);
|
||||||
if (error.constructor?.name !== 'AxiosError') throw error;
|
|
||||||
});
|
});
|
||||||
|
|
||||||
ErrorReporterProxy.init({
|
ErrorReporterProxy.init({
|
||||||
|
|||||||
Reference in New Issue
Block a user