deprecate env-specific logging in v2

closes #561
This commit is contained in:
Tejas Manohar 2015-10-27 14:50:45 -07:00 committed by jongleberry
parent 72680825d0
commit ded7a17140

View file

@ -155,8 +155,6 @@ module.exports = class Application extends Emitter {
if (404 == err.status || err.expose) return; if (404 == err.status || err.expose) return;
if (this.silent) return; if (this.silent) return;
// DEPRECATE env-specific logging in v2
if ('test' == this.env) return;
const msg = err.stack || err.toString(); const msg = err.stack || err.toString();
console.error(); console.error();