mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(HTTP Request Node): Show detailed error message in the UI again (#5959)
This commit is contained in:
committed by
GitHub
parent
60d28fc761
commit
e79679c023
@@ -1369,7 +1369,7 @@ export class HttpRequestV3 implements INodeType {
|
||||
if (autoDetectResponseFormat && response.reason.error instanceof Buffer) {
|
||||
response.reason.error = Buffer.from(response.reason.error as Buffer).toString();
|
||||
}
|
||||
throw new NodeApiError(this.getNode(), response.reason as JsonObject);
|
||||
throw new NodeApiError(this.getNode(), response as JsonObject);
|
||||
} else {
|
||||
// Return the actual reason as error
|
||||
returnItems.push({
|
||||
|
||||
Reference in New Issue
Block a user