Skip to content

Commit 61989fe

Browse files
authored
Merge pull request #278 from xiekeyang/error-value
improper error description
2 parents 8c2642e + 85bbf42 commit 61989fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

schema/validator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func (e ValidationError) Error() string {
4141
func (v Validator) Validate(src io.Reader) error {
4242
buf, err := ioutil.ReadAll(src)
4343
if err != nil {
44-
return errors.Wrap(err, "unable to read manifest")
44+
return errors.Wrap(err, "unable to read the document file")
4545
}
4646

4747
sl := gojsonschema.NewReferenceLoaderFileSystem("file:///"+specs[v], fs)

0 commit comments

Comments
 (0)