Moved send error checking to send_message