mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-12 23:04:52 +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) {
|
||||
logger.error(`Failed to load plugin info for ${meta.name}`);
|
||||
if (err) {
|
||||
logger.error(err.stack);
|
||||
}
|
||||
plugins.push({
|
||||
meta,
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user