add a todo

This commit is contained in:
TJ Holowaychuk 2013-09-13 21:06:16 -07:00
parent 7a26886040
commit 167530a9e6

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