add a todo

master
TJ Holowaychuk 2013-09-13 21:06:16 -07:00
parent 7a26886040
commit 167530a9e6
1 changed files with 1 additions and 0 deletions

View File

@ -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];