diff --git a/lib/context.js b/lib/context.js index ad3e041..ef0de98 100644 --- a/lib/context.js +++ b/lib/context.js @@ -569,6 +569,7 @@ module.exports = { */ error: function(msg, status){ + // TODO: switch order... feels weird now that im used to express if ('number' == typeof msg) { var tmp = msg; msg = http.STATUS_CODES[tmp];