-
Notifications
You must be signed in to change notification settings - Fork 588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iisnode and custom http errors #295
Comments
Guys, any suggestions? @tjanczuk? |
Here's what we use: web.config:
then in a startup command -
|
+1. This is actually IIS behavior, not iisnodes. Turning off IIS custom errors and setting the passthrough for the body should be sufficient. |
Thanks, guys! This works very well even without deleting CustomErrorModule. |
So, in case anyone out there is applying the |
Hi, we are building a REST API and we want to return any error and fault HTTP state with JSON body, contains error description. And we are deploying to Windows Azure WebSites.
Example code:
We discovered, that iisnode handles this errors and rewrites the body.
Is there a way to prevent it from doing this?
The text was updated successfully, but these errors were encountered: