mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-28 16:47:13 +09:00
Revert mistaken removal of await
Revert mistaken removal of await from controller plugin initialization
in 27af142.
This commit is contained in:
1 parent
1985abbe6c
commit
c0f65e0610
1 file changed
+1
-1
@@ -1004,7 +1004,7 @@ export default class Controller {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let controllerPlugin = new ControllerPluginClass(pluginInfo, this, metrics as any, logger);
|
let controllerPlugin = new ControllerPluginClass(pluginInfo, this, metrics as any, logger);
|
||||||
controllerPlugin.init();
|
await controllerPlugin.init();
|
||||||
this.plugins.set(pluginInfo.name, controllerPlugin);
|
this.plugins.set(pluginInfo.name, controllerPlugin);
|
||||||
|
|
||||||
} catch (err: any) {
|
} catch (err: any) {
|
||||||
|
|||||||
Reference in new issue
Block a user