We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6aeee0 commit 2d14384Copy full SHA for 2d14384
README.md
@@ -312,9 +312,9 @@ import (
312
"log/slog"
313
)
314
315
-recovery := RecoverHandlerError(
+recovery := slogmulti.RecoverHandlerError(
316
func(ctx context.Context, record slog.Record, err error) {
317
- // will be called only if subsequent handlers fail and return an error
+ // will be called only if subsequent handlers fail or return an error
318
log.Println(err.Error())
319
},
320
0 commit comments