Skip to content

Commit

Permalink
Merge branch 'dev-api' to fix prod bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jokil123 committed Jan 26, 2024
2 parents 0da494f + 5eb5534 commit 190a53a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion EsefexApi/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ import (
func main() {
log.Printf("Starting Esefex API with PID: %d", os.Getpid())

Must(godotenv.Load())
err := godotenv.Load()
if err != nil {
log.Println("Error loading .env file, assuming all variables are set in the environment")
}

log.SetFlags(log.LstdFlags | log.Lshortfile)

Expand Down

0 comments on commit 190a53a

Please sign in to comment.