Skip to content

Commit

Permalink
TEST3
Browse files Browse the repository at this point in the history
  • Loading branch information
brok3turtl3 committed Nov 29, 2023
1 parent 3b57ca9 commit 82777c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/config/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const connectDB = async (): Promise<void> => {
console.log(`MongoDB is connected to: ${connection.connection.host}`);
} catch (error: any) {
console.error(error.message);
throw new Error("Failed to connect to MongoDB");
process.exit(1);
}
};

Expand Down

0 comments on commit 82777c0

Please sign in to comment.