Revert mistaken removal of await

Revert mistaken removal of await from controller plugin initialization
in 27af142.
This commit is contained in:
Hornwitser committed 2024-01-10 23:16:29 +01:00
1 parent 1985abbe6c
commit c0f65e0610
1 file changed
+1 -1
+1 -1
View File
@@ -1004,7 +1004,7 @@ export default class Controller {
}
let controllerPlugin = new ControllerPluginClass(pluginInfo, this, metrics as any, logger);
controllerPlugin.init();
await controllerPlugin.init();
this.plugins.set(pluginInfo.name, controllerPlugin);
} catch (err: any) {