Logging exceptions in try/catchall blocks.