diff --git a/packages/orm/ioredis/src/utils/registerConnectionProvider.ts b/packages/orm/ioredis/src/utils/registerConnectionProvider.ts index 1fe60006235..81a4a9871aa 100644 --- a/packages/orm/ioredis/src/utils/registerConnectionProvider.ts +++ b/packages/orm/ioredis/src/utils/registerConnectionProvider.ts @@ -69,7 +69,9 @@ export function registerConnectionProvider({provide, name = "default"}: CreateCo } as RedisOptions); } - await connection.connect(); + try { + await connection.connect(); + } catch (e) {} logger.info("Connected to redis database...");