docs
docs copied to clipboard
Incorrect documentation regarding "Error Sanitization"?
Hi @renejeglinsky,
I would just like to use this issue to reiterate the problem already described by @gregorwolf in the SCN community.
https://community.sap.com/t5/technology-q-a/incorrect-documentation-regarding-quot-error-sanitization-quot/qaq-p/12710155
The documentation and the behavior of the CAP framework do not seem to be entirely consistent in regard to "Error Sanitization".
As a current workaround, if I want to display an error message in the frontend, I always set the http code to 4xx instead of 5xx, even if this is not actually correct.
Best regards, Nico
Hi @nocin , I'm already in touch with our Node.js runtime team and will get back to you. All the best, René