run: improve config load err message
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
874cdcec3a
commit
9972551239
4
run.go
4
run.go
@ -93,7 +93,9 @@ func run() error {
|
|||||||
|
|
||||||
conf, err := config.Load(*configFlag, *configIsPathFlag)
|
conf, err := config.Load(*configFlag, *configIsPathFlag)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("couldn't load config file '%s', full err: %w", *configFlag, err)
|
return fmt.Errorf("couldn't load the configuration (isPath: '%t') '%s', full err: %w",
|
||||||
|
*configIsPathFlag, *configFlag, err,
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
setting := settings.New()
|
setting := settings.New()
|
||||||
|
Loading…
Reference in New Issue
Block a user