diff --git a/src/server/Server.ts b/src/server/Server.ts index 9ea3a40..b7657b0 100644 --- a/src/server/Server.ts +++ b/src/server/Server.ts @@ -259,10 +259,16 @@ class Server extends EventEmitter this.#logger.info('Initialising memory storage provider'); await this.#memoryStoreProvider.init(); + this.#logger.info('Initialising user database'); await this.#userDatabase.init(); - await this.#messageBroker?.init(); + if (this.#messageBroker) + { + this.#logger.info('Initialising message broker'); + await this.#messageBroker.init(); + } + this.#logger.info('Initialising flag manager'); await this.#flagManager.init(); this.#logger.info('Loading endpoints');