sailthru / sailthru-node-client

Sailthru Node.js client
http://docs.sailthru.com
MIT License
17 stars 15 forks source link

Adding error handler on the request object #5

Closed bbickerton closed 12 years ago

bbickerton commented 12 years ago

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.

infynyxx commented 12 years ago

Awesome! Thanks.