no need to crash nodebb on missing template directory warning

This commit is contained in:
psychobunny
2015-01-07 17:23:39 -05:00
parent ce9c17f8e5
commit 1a13f2a54a

View File

@@ -156,7 +156,7 @@ var fs = require('fs'),
winston.warn('[plugins/' + plugin.id + '] A templates directory was defined for this plugin, but was not found.'); winston.warn('[plugins/' + plugin.id + '] A templates directory was defined for this plugin, but was not found.');
} }
next(err); next(false);
}); });
} else { } else {
next(false); next(false);