Browse Source

Add error text to clarify config changes from #373

pull/375/head
Gabe Kangas 5 years ago
parent
commit
31e0382a87
  1. 2
      config/config.go

2
config/config.go

@ -116,7 +116,7 @@ func (c *config) load(filePath string) error { @@ -116,7 +116,7 @@ func (c *config) load(filePath string) error {
}
if err := yaml.Unmarshal(yamlFile, c); err != nil {
log.Fatalf("Unmarshal: %v", err)
log.Fatalf("Error reading the config file.\nHave you recently updated your version of Owncast?\nIf so there may be changes to the config.\nPlease read the change log for your version at https://owncast.online/posts/\n%v", err)
return err
}

Loading…
Cancel
Save