diff --git a/lib/application.js b/lib/application.js index 268db39..272bf9e 100644 --- a/lib/application.js +++ b/lib/application.js @@ -166,6 +166,8 @@ app.onerror = function(err){ if (404 == err.status || err.expose) return; if (this.silent) return; + // DEPRECATE env-specific logging in v2 + if ('test' == this.env) return; var msg = err.stack || err.toString(); console.error();