Improve logging of exceptions
add some additional raw data output