Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed Issue #71

Fixed broken error handling
  • Loading branch information...
commit 89309386981800b463661c76c3b23c614d0ce0f3 1 parent 919e4b3
William Khoe pixelfreak authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/locomotive/controller.js
2  lib/locomotive/controller.js
View
@@ -450,7 +450,7 @@ Controller.prototype._invoke = function(action) {
self[action]();
return;
} catch (e) {
- return self.error(err);
+ return self.error(e);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.