log the errors for message send failures