Skip to content

Commit

Permalink
[3.0.1] Anytype hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ipmake committed Oct 8, 2023
1 parent 6f5baf0 commit 41c84ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ 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() : '');
process.exit(1);
});
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() : '');
Expand Down

0 comments on commit 41c84ab

Please sign in to comment.