-
Notifications
You must be signed in to change notification settings - Fork 73
Open
Description
Let's say I have this code:
// Set main handler & context.
collectHandler :=
tigertonic.Timed(
corsBuilder.Build(
tigertonic.WithContext(
// Create context for handler.
tigertonic.If(createContext, tigertonic.Marshaled(collect)),
RequestContext{})),
"Collect", nil)If there's some JSON unmarshal problem in collect (which is a function with the correct signature), there's no obvious way to log it, besides wrapping everything with tigertonic.Logged(), which logs to much.
Is there a way to do that which I haven't figured out?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels