Skip to content

Commit

Permalink
blog: improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagokokada committed Aug 19, 2024
1 parent 5e245bf commit c93f40d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blog.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ func grabPosts() posts {
slug, err := getAndValidateSlug(d.Name(), title)
if err != nil {
return fmt.Errorf(
"slug for file: %s, error: %w",
"something is wrong with slug for file: %s, error: %w",
path,
err,
)
Expand Down

0 comments on commit c93f40d

Please sign in to comment.