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 e1dcfae commit 4894ab5Copy full SHA for 4894ab5
README.md
@@ -237,9 +237,9 @@ import (
237
"log/slog"
238
)
239
240
-recovery := RecoverHandlerError(
+recovery := slogformatter.RecoverHandlerError(
241
func(ctx context.Context, record slog.Record, err error) {
242
- // will be called only if subsequent handlers fail and return an error
+ // will be called only if subsequent handlers fail or return an error
243
log.Println(err.Error())
244
},
245
0 commit comments