logging in case method was not found

This commit is contained in:
Timo Hocker 2019-12-11 13:10:45 +01:00
parent 6baeade4c0
commit a73e0d1d80

View File

@ -54,6 +54,11 @@ module.exports = function (
case 'all':
app.all(url, func);
break;
default:
if (verbose) {
console.warn(`'${method}' did not match any request method, ignoring`);
}
break;
}
}
};