no need to crash nodebb on missing template directory warning

v1.18.x
psychobunny 10 years ago
parent ce9c17f8e5
commit 1a13f2a54a

@ -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.');
}
next(err);
next(false);
});
} else {
next(false);

Loading…
Cancel
Save