log error on message fail