-
-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Description
In order to correlate custom ErrorHandler logging with requests if would be very helpful if the ErrorHandler signature was expanded to include context.Context
e.g.
type ErrorHandler func(ctx context.Context, w http.ResponseWriter, message string, statusCode int)
This however is a breaking change so another option could be to expand Options
with a ErrorHandlerWithContext
field.
Rickardkamel, lvanoort, pankona, AkkyOrz, marene and 2 more
Metadata
Metadata
Assignees
Labels
No labels