3
0

Assure there are no nil stack frames

This commit is contained in:
Tomaž Jerman 2024-10-31 16:48:23 +01:00
parent 77a9a8af3e
commit 6c671983f8

View File

@ -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: