fix: warn on .env file not found

This commit is contained in:
trafficlunar 2025-03-20 22:31:54 +00:00
parent 32aea2cbd5
commit 7176c3e193

View file

@ -17,7 +17,7 @@ func main() {
err := godotenv.Load() err := godotenv.Load()
if err != nil { if err != nil {
slog.Error("Error loading .env file", slog.Any("error", err)) slog.Warn("No .env file was found; using environment variables.", slog.Any("error", err))
} }
go worker.StartWorkers() go worker.StartWorkers()