Skip to content

Commit

Permalink
added startup msg at auth
Browse files Browse the repository at this point in the history
  • Loading branch information
SuhravHussen committed Jul 24, 2023
1 parent 77e993c commit 45e7849
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions auth/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import app from "./app";
//mongodb
const start = async () => {
try {
console.log("Starting up auth service...");
if (!process.env.JWT_SECRET || !process.env.MONGO_URI) {
throw new HttpException(500, " env must be defined");
}
Expand Down

0 comments on commit 45e7849

Please sign in to comment.