From 38e4a6c8b068dbcc9126c92636ec04e09838f02b Mon Sep 17 00:00:00 2001 From: Baris Soner Usakli Date: Thu, 27 Feb 2014 01:51:33 -0500 Subject: [PATCH] better check --- src/webserver.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/webserver.js b/src/webserver.js index f4869b4cbf..b7028efc5c 100644 --- a/src/webserver.js +++ b/src/webserver.js @@ -148,8 +148,8 @@ process.on('uncaughtException', function(err) { // Meta Tags templateValues.metaTags = defaultMetaTags.concat(options.metaTags || []).map(function(tag) { - if(!tag || !tag.content) { - winston.warn('Invalid meta tag. ' + tag); + if(!tag || typeof tag.content !== 'string') { + winston.warn('Invalid meta tag. ', tag); return tag; }