Removed unused parameter to pass jshint.
Improved restify error message for easier debugging.