mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-22 00:13:12 +09:00
Log stack trace on errors loading web plugins
This commit is contained in:
1 parent
415f574e2d
commit
fe9cef5e1e
1 file changed
+3
@@ -54,6 +54,9 @@ async function loadPlugins() {
|
|||||||
|
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
logger.error(`Failed to load plugin info for ${meta.name}`);
|
logger.error(`Failed to load plugin info for ${meta.name}`);
|
||||||
|
if (err) {
|
||||||
|
logger.error(err.stack);
|
||||||
|
}
|
||||||
plugins.push({
|
plugins.push({
|
||||||
meta,
|
meta,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user