Reputation: 5
I am working on a legacy Web Forms project written in VB.net. When an authorized client makes a bad request, my application response returns a full stack trace that I want to hide.
I have a redirect error page configured but this is specifically to handle a bad request that a client initiates on the browser.
This is similar to another question: Hide / Remove Stack Trace information
The stack trace warnings show up in the API request like in the above question:
So far I have tried modifying web.config to set compilation debug = False, check to make sure redirect is enabled for bad requests, ensure that the default trace enabled="false" is not overridden anywhere.
Any suggestions would be appreciated.
Upvotes: 0
Views: 30