mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Fixed crash on first launch
This commit is contained in:
@@ -25,7 +25,7 @@ func LoadConfigFile(file string) *Config {
|
||||
jsonParser := json.NewDecoder(configFile)
|
||||
parseError := jsonParser.Decode(&config)
|
||||
if parseError != nil {
|
||||
logger.Errorf("config file parse error: %s", parseError)
|
||||
logger.Errorf("config file parse error (ignore on first launch): %s", parseError)
|
||||
}
|
||||
return &config
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user