From 6c19c41c092781d8472c1ec4c42b58f5c2d836b9 Mon Sep 17 00:00:00 2001 From: Tejas Manohar Date: Thu, 8 Oct 2015 19:02:36 -0500 Subject: [PATCH] keep test env logging for backwards-compat --- lib/application.js | 2 ++ 1 file changed, 2 insertions(+) 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();