mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
no need to crash nodebb on missing template directory warning
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user