Fix: log correctly path
This commit is contained in:
parent
003cef02a2
commit
7eadec6eef
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ func readConfig(path string) (*rawConfig, error) {
|
|||
}
|
||||
|
||||
if len(data) == 0 {
|
||||
return nil, fmt.Errorf("Configuration file %s is empty", C.Path.Config())
|
||||
return nil, fmt.Errorf("Configuration file %s is empty", path)
|
||||
}
|
||||
|
||||
// config with some default value
|
||||
|
|
Loading…
Reference in a new issue