Jon: Fixing exception output in logs.