mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
🐛 Fix Ignore Response Code issue
This commit is contained in:
parent
c3e3d9d46e
commit
e05d0a5286
|
@ -444,6 +444,10 @@ async function proxyRequestToAxios(
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (configObject.simple === false && error.response) {
|
||||||
|
resolve(error.response.data);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
Logger.debug('Request proxied to Axios failed', { error });
|
Logger.debug('Request proxied to Axios failed', { error });
|
||||||
// Axios hydrates the original error with more data. We extract them.
|
// Axios hydrates the original error with more data. We extract them.
|
||||||
|
|
Loading…
Reference in a new issue