keep test env logging for backwards-compat
This commit is contained in:
parent
c369b33b23
commit
6c19c41c09
1 changed files with 2 additions and 0 deletions
|
@ -166,6 +166,8 @@ app.onerror = function(err){
|
||||||
|
|
||||||
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;
|
||||||
|
|
||||||
var msg = err.stack || err.toString();
|
var msg = err.stack || err.toString();
|
||||||
console.error();
|
console.error();
|
||||||
|
|
Loading…
Reference in a new issue