Skip to content

Commit 2d14384

Browse files
committed
doc
1 parent c6aeee0 commit 2d14384

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,9 +312,9 @@ import (
312312
"log/slog"
313313
)
314314

315-
recovery := RecoverHandlerError(
315+
recovery := slogmulti.RecoverHandlerError(
316316
func(ctx context.Context, record slog.Record, err error) {
317-
// will be called only if subsequent handlers fail and return an error
317+
// will be called only if subsequent handlers fail or return an error
318318
log.Println(err.Error())
319319
},
320320
)

0 commit comments

Comments
 (0)