show error

This commit is contained in:
barisusakli
2014-09-09 22:10:17 -04:00
parent 5696ea2396
commit e9798028de

View File

@@ -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) {