Skip to content
Browse files

using namespaced error functions

  • Loading branch information...
1 parent 75b9db3 commit 3e40db84f304ea44b6f447e82f9a56db5adcd41a @cloudhead committed Feb 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/journey.js
View
2 lib/journey.js
@@ -311,7 +311,7 @@ journey.Router.prototype = {
params = querystring.parse(request.url.query || null);
if (! this.verifyHeaders(request)) {
- return respond(new(NotAcceptable)(request.headers.accept));
+ return respond(new(journey.NotAcceptable)(request.headers.accept));
}
this.resolve(request, body, function (err, resolved) {

0 comments on commit 3e40db8

Please sign in to comment.
Something went wrong with that request. Please try again.