Friday, May 18, 2007

Developers: Friendly HTTP Errors can be Unfriendly


Be sure to disable friendly http errors when developing web applications.


These "friendly" errors can mask a problem when troubleshooting. This is prevalent in ASP applications. The following app is missing a virtual directory, and the client has friendly errors turned on:

That doesn't really tell you much, does it? Now here's what we get with the option turned off:

That's a little more informative (minus the proprietary details), isn't it? Keep it unfriendly!

0 comments: