diff --git a/index.js b/index.js index 09233cf..9604745 100644 --- a/index.js +++ b/index.js @@ -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; } } };