Don't override response code in res.send(code, errorObj)
If you invoke res.send() with an error that has a statusCode attribute,
that will be used, otherwise a default of 500 will be used
(unless you're using res.send(4xx, new Error('blah)))."

http://mcavage.me/node-restify/#Error-handling
Merge pull request #495 from 13W/customCode

Don't override response code in res.send(code, errorObj)