Skip to content

Commit

Permalink
Update outdated godoc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
joanlopez committed Oct 30, 2023
1 parent 444d49c commit 3aea489
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion errext/format.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"errors"
)

// Format formats the given error and writes it to l.
// Format formats the given error as a message (string) and a map of fields.
// In case of Exception, it uses the stack trace as the error message.
// In case of HasHint, it also adds the hint as a field.
func Format(err error) (string, map[string]interface{}) {
Expand Down

0 comments on commit 3aea489

Please sign in to comment.