Prettier exception logging