Skip to content

Commit

Permalink
Assure there are no nil stack frames
Browse files Browse the repository at this point in the history
  • Loading branch information
tjerman committed Oct 31, 2024
1 parent 77a9a8a commit 6c67198
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/automation/service/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -480,9 +480,9 @@ func (svc *session) stateChangeHandler(ctx context.Context) wfexec.StateChangeHa
// calculate how long it took to get to this step
frame.ElapsedTime = uint(frame.CreatedAt.Sub(ses.RuntimeStacktrace[0].CreatedAt) / time.Millisecond)
}
}

ses.AppendRuntimeStacktrace(frame)
ses.AppendRuntimeStacktrace(frame)
}

switch status {
case wfexec.SessionPrompted:
Expand Down

0 comments on commit 6c67198

Please sign in to comment.