Skip to content

Commit

Permalink
fix: added log when storing data
Browse files Browse the repository at this point in the history
  • Loading branch information
exu committed Aug 8, 2024
1 parent 8a05b62 commit 640adaf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/testworkflows/testworkflowexecutor/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,9 @@ func (e *executor) Execute(ctx context.Context, workflow testworkflowsv1.TestWor
RunnerId: e.runnerID,
RunningContext: request.RunningContext,
}

log.DefaultLogger.Infow("inserting execution", "execution", execution, "runningContext", request.RunningContext)

err = e.repository.Insert(ctx, execution)
if err != nil {
return execution, errors.Wrap(err, "inserting execution to storage")
Expand Down

0 comments on commit 640adaf

Please sign in to comment.