Skip to content

Commit 968a561

Browse files
authored
Merge pull request #594 from oasisprotocol/ptrus/fix/validate-parsing-failed
rofl: Improve 'parsing failed' validation error
2 parents 6f4a644 + 06ec522 commit 968a561

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cmd/rofl/build/validate.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ func validateComposeFile(composeFile string, manifest *buildRofl.Manifest) error
6868
}
6969
proj, err := options.LoadProject(context.Background())
7070
if err != nil {
71-
fmt.Println(err)
72-
return fmt.Errorf("parsing failed")
71+
return fmt.Errorf("parsing: %w", err)
7372
}
7473

7574
// Keep track of all images encountered, as we will need them in later steps.

0 commit comments

Comments
 (0)