Skip to content

Commit

Permalink
improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
bayashi committed Mar 20, 2024
1 parent 5cda672 commit 12adcfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion highlightrepo.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func (h *highlightrepo) highlightline(line string) error {
}

if _, err := os.Stat(absPath); err != nil {
return err
return fmt.Errorf("orig %s, abs %s : %w", line, absPath, err)
}

paths := strings.Split(absPath, SEP)
Expand Down

0 comments on commit 12adcfc

Please sign in to comment.