From fefd0c930c49bd39674714aba74f39dd5d74ff12 Mon Sep 17 00:00:00 2001 From: Ricardo Tomasi Date: Sun, 19 May 2013 18:51:27 -0300 Subject: [PATCH] better logging in dev mode --- app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app.js b/app.js index 4c148b908d..511c256c99 100644 --- a/app.js +++ b/app.js @@ -25,7 +25,8 @@ ghost.app().configure('development', function () { ghost.app().use(express.favicon(__dirname + '/content/images/favicon.ico')); - ghost.app().use(express.errorHandler()); + ghost.app().use(express.errorHandler({ dumpExceptions: true, showStack: true })); + ghost.app().use(express.logger('dev')); ghost.app().use(I18n.load(ghost)); ghost.app().use(express.bodyParser()); ghost.app().use(express.cookieParser('try-ghost'));