mirror of https://github.com/docker/buildx.git
Merge pull request #3314 from jsternberg/dap-error-fail-on-next
dap: always return the error from execution if we paused on an error and resume
This commit is contained in:
commit
60d96d3495
|
|
@ -94,6 +94,9 @@ func (t *thread) Evaluate(ctx Context, c gateway.Client, ref gateway.Reference,
|
|||
|
||||
select {
|
||||
case step = <-t.pause(ctx, err, event):
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
case <-ctx.Done():
|
||||
return context.Cause(ctx)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue