Improving the error output to show exception class as well as the message.