Add error text to clarify config changes from #373

This commit is contained in:
Gabe Kangas 2020-11-17 15:21:53 -08:00
parent 2bb0cec5be
commit 31e0382a87

View file

@ -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
}