Nicer error output

main
Nick Dumas 2 years ago
parent 61b85fd9ba
commit 5b93acf9ab

@ -56,7 +56,7 @@ var validateCmd = &cobra.Command{
log.Fatalf("error compiling schema: %s\n", err)
}
if err := schema.Validate(m); err != nil {
log.Fatalf("error validating: %s\n", err)
log.Fatalf("error validating: %#v\n", err)
}
fmt.Println("validation successfull")
},

Loading…
Cancel
Save