Skip to content

Commit

Permalink
feat: not having .env is not a fatal error
Browse files Browse the repository at this point in the history
  • Loading branch information
harshkhandeparkar committed May 9, 2024
1 parent 30a4607 commit 41352ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ func CheckError(err error) {
func main() {
err := godotenv.Load(".env")
if err != nil {
log.Fatal(err)
log.Println(err)
}

host := os.Getenv("DB_HOST")
Expand Down

0 comments on commit 41352ea

Please sign in to comment.