Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

using namespaced error functions

  • Loading branch information...
commit 3e40db84f304ea44b6f447e82f9a56db5adcd41a 1 parent 75b9db3
Alexis Sellier authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  lib/journey.js
2  lib/journey.js
@@ -311,7 +311,7 @@ journey.Router.prototype = {
311 311 params = querystring.parse(request.url.query || null);
312 312
313 313 if (! this.verifyHeaders(request)) {
314   - return respond(new(NotAcceptable)(request.headers.accept));
  314 + return respond(new(journey.NotAcceptable)(request.headers.accept));
315 315 }
316 316
317 317 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.