Skip to content

Commit

Permalink
Merge pull request #51 from Artanicus/config-parse-errors
Browse files Browse the repository at this point in the history
Don't assume all config read errors are missing files, print error
  • Loading branch information
maietta authored May 15, 2023
2 parents fc2bd9e + b0fa062 commit 85db4be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func (c *DaemonCommand) boot() (err error) {
// Always try to read the config file, as there are options such as globals or some tasks that can be specified there and not in docker
config, err := BuildFromFile(c.ConfigFile, c.Logger)
if err != nil {
c.Logger.Debugf("Config file: %v not found", c.ConfigFile)
c.Logger.Debugf("Cannot read config file: %q", err)
}

err = config.InitializeApp(c.DisableDocker)
Expand Down

0 comments on commit 85db4be

Please sign in to comment.