diff --git a/lib/application.js b/lib/application.js index bab5f95..f01526e 100644 --- a/lib/application.js +++ b/lib/application.js @@ -158,7 +158,9 @@ app.createContext = function(req, res){ app.onerror = function(err){ if (!this.outputErrors) return; if (404 == err.status) return; - console.error(err.stack); + console.error(); + console.error(err.stack.replace(/^/gm, ' ')); + console.error(); }; /**