check err

v1.18.x
barisusakli 11 years ago
parent 519b1b7e37
commit d1b457b066

@ -31,6 +31,9 @@ Templates.compile = function(callback) {
themeTemplatesPath = nconf.get('theme_templates_path');
plugins.getTemplates(function(err, pluginTemplates) {
if (err) {
return callback(err);
}
winston.info('[meta/templates] Compiling templates');
rimraf.sync(viewsPath);
mkdirp.sync(viewsPath);

Loading…
Cancel
Save