chore: fix exiting if env is not found
All checks were successful
/ build-and-push-image (push) Successful in 36s
All checks were successful
/ build-and-push-image (push) Successful in 36s
This commit is contained in:
parent
51cd94fe0a
commit
848684e58a
2
main.go
2
main.go
|
@ -53,7 +53,7 @@ func main() {
|
||||||
// Load environment variables
|
// Load environment variables
|
||||||
err := godotenv.Load()
|
err := godotenv.Load()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal("Error loading .env file")
|
log.Println("Error loading .env file")
|
||||||
}
|
}
|
||||||
|
|
||||||
dbPath := os.Getenv("DB_PATH")
|
dbPath := os.Getenv("DB_PATH")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user