Permalink
Browse files

Merge pull request #73 from pixelfreak/master

Fixed broken error handling in controller
  • Loading branch information...
2 parents 919e4b3 + 8930938 commit 78b3c8ea81bbcd46fd095409b27b5d18f8ecf230 @jaredhanson committed Feb 20, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/locomotive/controller.js
View
2 lib/locomotive/controller.js
@@ -450,7 +450,7 @@ Controller.prototype._invoke = function(action) {
self[action]();
return;
} catch (e) {
- return self.error(err);
+ return self.error(e);
}
}

0 comments on commit 78b3c8e

Please sign in to comment.