diff --git a/lib/application.js b/lib/application.js index 4b9b5c3..a232ec4 100644 --- a/lib/application.js +++ b/lib/application.js @@ -145,7 +145,9 @@ app.callback = function(){ */ app.onerror = function(err){ - if (this.outputErrors) console.error(err.stack); + if (!this.outputErrors) return; + if (404 == err.status) return; + console.error(err.stack); }; /**