small fix

This commit is contained in:
Laptop
2024-11-26 19:46:21 +02:00
parent 5e678047b5
commit 985bc06c3a

View File

@@ -341,7 +341,8 @@ func init() {
if env := os.Getenv("SOUNDCLOAK_CONFIG"); env == "FROM_ENV" {
err := fromEnv()
if err != nil {
panic(err)
log.Println("failed to load config from environment:", err)
defaultPreferences()
}
return