node-red-nodegen icon indicating copy to clipboard operation
node-red-nodegen copied to clipboard

Error handling does not bring error message

Open crackytsi opened this issue 4 years ago • 0 comments

What are the steps to reproduce?

  • Create a node from as swagger file
  • Return from the endpoint a 403 error with a JSON Response

What happens?

  • A debug entry is generated, but with empty string, no json response at all. image
  • The node shows an error: image

What do you expect to happen?

  • Show error output in debug-log and on node status

Please tell us about your environment:

  • [x] Node generator version: 0.1.0
  • [x] Node.js version: 18.2
  • [x] Node-RED version: 1.3.5
  • [x] Browser: Chrome

crackytsi avatar May 20 '21 09:05 crackytsi