From e9798028deadf79605353aebc4bf6d65e37d12ed Mon Sep 17 00:00:00 2001 From: barisusakli Date: Tue, 9 Sep 2014 22:10:17 -0400 Subject: [PATCH] show error --- src/meta/title.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meta/title.js b/src/meta/title.js index 1de916ebec..00e5697a2d 100644 --- a/src/meta/title.js +++ b/src/meta/title.js @@ -19,7 +19,7 @@ module.exports = function(Meta) { try { uri = decodeURIComponent(urlFragment); } catch(e) { - winston.error('Invalid url fragment :' + urlFragment); + winston.error('Invalid url fragment : ' + urlFragment, e.message); return callback(null, Meta.config.browserTitle || 'NodeBB'); } Meta.title.parseFragment(uri, language, function(err, title) {