Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
Don't assume all config read errors are missing files, print error
Browse files Browse the repository at this point in the history
Fixes #18
  • Loading branch information
jinnatar committed Jan 7, 2023
1 parent 2710f97 commit b0fa062
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 b0fa062

Please sign in to comment.