await the connection

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2021-04-28 14:50:05 +02:00
parent e2000428ae
commit 11461a20b3
@@ -68,7 +68,7 @@ export class DefaultCatalogProcessingEngine implements CatalogProcessingEngine {
async start() {
for (const provider of this.entityProviders) {
provider.connect(
await provider.connect(
new Connection({
stateManager: this.stateManager,
id: provider.getProviderName(),