Lately, I've found myself in quite a few arguments with my boss about the handling of exceptions within our web app (a c# asp.net MVC application).
Basically the conversations go something like this:
Boss: "There is something wrong with our program, client x's database went down today and everyone is seeing the error page."
Me: "Mostly every page in the application uses the database for something (except the error page), there is no reasonable alternative other than to show the error page."
Boss: "Our application should be more resilient -- the part of the application that don't require database access should still function."
Often, the cases are as extreme as this, but sometimes we run into a case where we are integrating with another service where we can still safely show other portions of the page, or complete the operation, albeit with some annoying code as later portions of code need to later use the results of the operation which may have failed. If there are many points of possible failure this can turn into some extremely unmanageable code.
In general, for a "normal" web application (not mission-critical, etc...) how much time do "good" developers spend trying to make their code resilient enough to handle these kind of situations. My boss seems to think that the code should be able handle almost any situation (can't you just catch an exception?). I don't see how this can be economical when there are many possible points of failure.