Citation? Does any source say that is a good idea?
I'd guess a more common pattern is to catch & log exceptions at a top level and proceed. For example, a web server catches & logs exceptions that occur from web requests, but the server stays up to handle subsequent requests (instead of aborting)
2 Comments
Robert C. Seacord
Add a recommendation here to handle exceptions at the lowest level from which recovery is possible?
David Svoboda
Citation? Does any source say that is a good idea?
I'd guess a more common pattern is to catch & log exceptions at a top level and proceed. For example, a web server catches & logs exceptions that occur from web requests, but the server stays up to handle subsequent requests (instead of aborting)