Properly append exception information at the end of message