Skip to content

Commit

Permalink
chore: improve error message to provide a hint
Browse files Browse the repository at this point in the history
  • Loading branch information
mroach committed Nov 1, 2022
1 parent d91ce83 commit 99b38a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rom/validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func (r *RomFile) ValidateWithDat(df dat.DatFile) (matches, mismatches []dat.Rom

if r.File.Format.Code != FormatZ64 {
return matches, mismatches, fmt.Errorf(
"File must be in z64 (big-endian) format. This file is %s (%s).",
"File must be in z64 (big-endian) format. This file is %s (%s). The `convert` command can help.",
r.File.Format.Code,
r.File.Format.Description)
}
Expand Down

0 comments on commit 99b38a2

Please sign in to comment.