Logging error when text can't b sent