You'll want to check `err` as well `res.statusCode`.

```coffeescript
if err?
  msg.send "Hmm, I got an error trying to process that CircleCI response: #{err}", err.stack
  return
```