Fixed bug when an exception is raised with no message.