Permalink
Browse files

Fixed Issue #71

Fixed broken error handling
  • Loading branch information...
1 parent 919e4b3 commit 89309386981800b463661c76c3b23c614d0ce0f3 @pixelfreak pixelfreak committed Jan 30, 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 8930938

Please sign in to comment.