add exception to log message.