Skip to content

Commit

Permalink
cmd/bg-suite: print file name on read error
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Maslowski <[email protected]>
  • Loading branch information
orangecms committed Sep 28, 2024
1 parent 5f38440 commit 299b93e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/core/bg-suite/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func (e *execTestsCmd) Run(ctx *context) error {
ret := false
data, err := os.ReadFile(e.Firmware)
if err != nil {
return fmt.Errorf("can't read firmware file")
return fmt.Errorf("can't read firmware file %v", e.Firmware)
}
preset := test.PreSet{
Firmware: data,
Expand Down

0 comments on commit 299b93e

Please sign in to comment.