diff --git a/cmd/obp/cmd/validate.go b/cmd/obp/cmd/validate.go index f318ff0..e4a8162 100644 --- a/cmd/obp/cmd/validate.go +++ b/cmd/obp/cmd/validate.go @@ -60,7 +60,9 @@ var validateCmd = &cobra.Command{ } return nil }) - + if err != nil { + return fmt.Errorf("walkfunc failed: %w", err) + } return nil }, }