node-red-nodegen
node-red-nodegen copied to clipboard
Error handling does not bring error message
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.

- The node shows an error:

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