hubot-archive / hubot-pager-me

PagerDuty integration for Hubot
https://www.npmjs.com/package/hubot-pager-me
MIT License
73 stars 93 forks source link

Check for errors during pagerDuty{Get,Post,Put,Delete}, and emit them #37

Closed technicalpickles closed 9 years ago

technicalpickles commented 9 years ago

We already were checking res.statusCode, but there are still times you might get an err from the scoped-http-client. In particular, if DNS resolution fails, the request fails to be made, etc.