I've written a few simple scripts against this gem, and noticed some false positives where the script continues to execute even with an failure API return. It seems that if the API doesn't return at all (HTTP Timeout) then the script halts execution, but if it returns with a 503, it continues:
I've written a few simple scripts against this gem, and noticed some false positives where the script continues to execute even with an failure API return. It seems that if the API doesn't return at all (HTTP Timeout) then the script halts execution, but if it returns with a 503, it continues:
Non-OK HTTP returns should raise a rescue'able error, and halt execution.