Skip to content

Commit 7381911

Browse files
bug: don't mask err
1 parent 9643395 commit 7381911

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/runner/runner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ func (r *Runner) Run(ctx context.Context, prg types.Program, env []string, input
199199
callCtx := engine.NewContext(ctx, &prg)
200200
state, err := r.call(callCtx, monitor, env, input)
201201
if err != nil {
202-
return "", nil
202+
return "", err
203203
}
204204
if state.Continuation != nil {
205205
return "", &ErrContinuation{

0 commit comments

Comments
 (0)