make sure we print an error if the config file is invalid.

fixes #408
pull/410/head
Jason Kulatunga 2 years ago
parent c9f13f4398
commit fb760a9f6d

@ -34,6 +34,7 @@ func main() {
if _, ok := err.(errors.ConfigFileMissingError); ok { // Handle errors reading the config file
//ignore "could not find config file"
} else if err != nil {
log.Print(color.HiRedString("CONFIG ERROR: %v", err))
os.Exit(1)
}

Loading…
Cancel
Save