Log exception message.