From 41c84abec074d5439c20be991ab6e9c7dbdc83e6 Mon Sep 17 00:00:00 2001 From: Ipmake Date: Sun, 8 Oct 2023 14:16:15 +0200 Subject: [PATCH] [3.0.1] Anytype hotfix --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 1cf2e2b..157c89a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -30,7 +30,7 @@ const prisma = new PrismaClient({ redis.connect().then(() => { log.info("Connected to Redis"); -}).catch((err) => { +}).catch((err: any) => { log.fatal("Failed to connect to Redis"); log.fatal(err.message); log.fatal(err.stack ? err.stack.toString() : ''); @@ -38,7 +38,7 @@ redis.connect().then(() => { }); prisma.$connect().then(() => { log.info("Connected to Postgres"); -}).catch((err) => { +}).catch((err: any) => { log.fatal("Failed to connect to Postgres"); log.fatal(err.message); log.fatal(err.stack ? err.stack.toString() : '');