From ea68131cbce0b8c4e8f1ebbc12124dfe514e60cb Mon Sep 17 00:00:00 2001 From: abhii734 Date: Tue, 10 Mar 2026 11:00:13 +0530 Subject: [PATCH] fix: logError now shows Error.cause and nested errors --- lib/application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/application.js b/lib/application.js index 47be2a20c1a..310e6dfef21 100644 --- a/lib/application.js +++ b/lib/application.js @@ -614,7 +614,7 @@ app.listen = function listen() { function logerror(err) { /* istanbul ignore next */ - if (this.get('env') !== 'test') console.error(err.stack || err.toString()); + if (this.get('env') !== 'test') console.error(err); } /**