Logging of exceptions in try/catchall blocks.