2 ms·
One that bugs me, is IIS with .Net projects, such as WCF where condition validation fails returns a 500 error, instead of a 400... I've come to implement a glob
by tracker1 11y ago
One that bugs me, is IIS with .Net projects, such as WCF where condition validation fails returns a 500 error, instead of a 400... I've come to implement a global exception handler to inspect the exceptions to handle these things, so only actual server-side errors return 500... others will wrap out.
Mainly because I got tired of seeing certain classes of errors showing up in my main error logs, when they are being caught, but throwing 500 errors... mainly pen-test/bots trying to get in.