mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-18 09:17:49 +08:00
controller: return original error to preserve stacktrace
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
This commit is contained in:
parent
6db8569f09
commit
8da8ee2aea
@ -117,7 +117,7 @@ func NewResultHandle(ctx context.Context, cc *client.Client, opt client.SolveOpt
|
|||||||
gwClient: c,
|
gwClient: c,
|
||||||
gwCtx: ctx,
|
gwCtx: ctx,
|
||||||
}
|
}
|
||||||
respErr = se
|
respErr = err // return original error to preserve stacktrace
|
||||||
close(done)
|
close(done)
|
||||||
|
|
||||||
// Block until the caller closes the ResultHandle.
|
// Block until the caller closes the ResultHandle.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user