More exception logging shenanigans