Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
samber committed Feb 4, 2025
1 parent c6aeee0 commit 2d14384
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,9 +312,9 @@ import (
"log/slog"
)

recovery := RecoverHandlerError(
recovery := slogmulti.RecoverHandlerError(
func(ctx context.Context, record slog.Record, err error) {
// will be called only if subsequent handlers fail and return an error
// will be called only if subsequent handlers fail or return an error
log.Println(err.Error())
},
)
Expand Down

0 comments on commit 2d14384

Please sign in to comment.