Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

typo preventing error response to be sent

  • Loading branch information...
commit 6f6bb3f89a9a1a288d1742bff90f7f1a561c04a7 1 parent 47244b4
@sonnym authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/loaders/controller.js
View
2  lib/loaders/controller.js
@@ -102,7 +102,7 @@ ControllerLoader.prototype.get = function(opt) {
try {
return controller_instance[action].call(controller_instance);
} catch (e) {
- if (opt.respones) {
+ if (opt.response) {
opt.response.writeHead(500);
opt.response.end(e.message + "\n\n\n" + e.stack);
}
Please sign in to comment.
Something went wrong with that request. Please try again.