add a todo
This commit is contained in:
parent
7a26886040
commit
167530a9e6
1 changed files with 1 additions and 0 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue