Make it clear what is wrong with a config file.
This commit is contained in:
parent
93f3c9e620
commit
44d72c2bf2
1
main.go
1
main.go
|
@ -24,6 +24,7 @@ func main() {
|
||||||
config, err := getConfig(conf_file)
|
config, err := getConfig(conf_file)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println("Error reading config file " + conf_file)
|
fmt.Println("Error reading config file " + conf_file)
|
||||||
|
fmt.Println(err)
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue