Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions go/core/action.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,11 @@ func (a *ActionDef[In, Out, Stream]) Run(ctx context.Context, input In, cb Strea
// Run executes the Action's function in a new trace span.
func (a *ActionDef[In, Out, Stream]) runWithTelemetry(ctx context.Context, input In, cb StreamCallback[Stream]) (output api.ActionRunResult[Out], err error) {
logger.FromContext(ctx).Debug("Action.Run",
"name", a.Name,
"name", a.Name(),
"input", fmt.Sprintf("%#v", input))
defer func() {
logger.FromContext(ctx).Debug("Action.Run",
"name", a.Name,
"name", a.Name(),
"output", fmt.Sprintf("%#v", output),
"err", err)
}()
Expand Down
Loading