sailthru/sailthru-node-client — pull request #5 by TauZero (2012-06-05 17:18:23+00:00)
Title: Adding error handler on the request object

Catches an error on request (ETIMEDOUT, ENOENT, etc.) and passes it to the callback instead of crashing. Tests are included for connecting with an invalid api_url and the valid default api_url.