Skip to content

Commit

Permalink
refactor: Better error message
Browse files Browse the repository at this point in the history
  • Loading branch information
RamiAwar committed May 8, 2024
1 parent 06314d7 commit 695b07a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snippet/snippet.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func (snippets *Snippets) Load() error {

err = toml.Unmarshal(f, snippets)
if err != nil {
return fmt.Errorf("failed to unmarshal snippet file. %v", err)
return fmt.Errorf("failed to parse snippet file. %v", err)
}

snippets.Order()
Expand Down

0 comments on commit 695b07a

Please sign in to comment.