mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-22 23:42:54 +01:00
show error
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user