Add proper validation errors to config module, enable soft-fail on start

This commit is contained in:
Daniel 2022-03-01 15:28:33 +01:00
parent 7d144dae89
commit bdd1bc2d86
10 changed files with 125 additions and 70 deletions

View file

@ -64,7 +64,7 @@ func start() error {
return err
}
err = loadConfig()
err = loadConfig(false)
if err != nil && !os.IsNotExist(err) {
return err
}