diff --git a/packages/workflow/src/NodeErrors.ts b/packages/workflow/src/NodeErrors.ts index 2750debb61..c8b0b52bbb 100644 --- a/packages/workflow/src/NodeErrors.ts +++ b/packages/workflow/src/NodeErrors.ts @@ -290,6 +290,12 @@ export class NodeApiError extends NodeError { // only for request library error this.removeCircularRefs(error.error as JsonObject); } + // if it's an error generated by axios + // look for descriptions in the response object + if (error.isAxiosError) { + error = error.response as JsonObject; + } + if (message) { this.message = message; this.description = description;