diff --git a/main.go b/main.go index 3487595..9979610 100644 --- a/main.go +++ b/main.go @@ -45,7 +45,7 @@ func loadEnv() error { viper.AutomaticEnv() err := viper.ReadInConfig() if err != nil { - return err + log.Println("No .env file found") } // Unmarshal the config from file and env into the config struct