Skip to content

Commit

Permalink
Update error handling for .env file loading
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverSchlueter committed Jan 14, 2025
1 parent 6001e96 commit 2e1f17f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/main/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func main() {

err := godotenv.Load()
if err != nil {
log.Fatal("Error loading .env file")
log.Printf("Error loading .env file: %v", err)
}

port := mustGetPort()
Expand Down

0 comments on commit 2e1f17f

Please sign in to comment.