Improved log output on Exceptions.