Skip to content
This repository has been archived by the owner on Nov 24, 2018. It is now read-only.

Commit

Permalink
Fixing Undefined is not a function error
Browse files Browse the repository at this point in the history
  • Loading branch information
corpix committed Jan 17, 2012
1 parent 5d8b4a2 commit 500c307
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -24,7 +24,7 @@ ex.define = function(opts){
ex.bind = function(app, opts){

app.use(function(req, res, next){
next(new ex._NotFound());
next(ex.NotFound);
});

app.error(function(err, req, res, next){
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -2,7 +2,7 @@
"author": "Corpix <me@corpix.ru> (http://corpix.ru)",
"name": "express-errors",
"description": "Error handler",
"version": "0.0.6",
"version": "0.0.7",
"repository": {
"type": "git",
"url": "git://github.com/corpix/express-errors.git"
Expand Down

0 comments on commit 500c307

Please sign in to comment.