From 5b93acf9ab4e1b0f25e3fd18fb9018d2b71f8266 Mon Sep 17 00:00:00 2001 From: Nick Dumas Date: Wed, 17 May 2023 11:04:21 -0400 Subject: [PATCH] Nicer error output --- cmd/obp/cmd/validate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/obp/cmd/validate.go b/cmd/obp/cmd/validate.go index b896935..d8dcdf1 100644 --- a/cmd/obp/cmd/validate.go +++ b/cmd/obp/cmd/validate.go @@ -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") },