Skip to content

Commit

Permalink
fix(venom): panic on failure (#731)
Browse files Browse the repository at this point in the history
close #724

Signed-off-by: Yvonnick Esnault <yvonnick.esnault@corp.ovh.com>
  • Loading branch information
yesnault committed Oct 27, 2023
1 parent 57972a6 commit 125663a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion process_testcase.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,9 @@ func (v *Venom) runTestSteps(ctx context.Context, tc *TestCase, tsIn *TestStepRe
ranged, err := parseRanged(ctx, rawStep, stepVars)
if err != nil {
Error(ctx, "unable to parse \"range\" attribute: %v", err)
tsIn.appendError(err)
testStepResult := TestStepResult{}
testStepResult.appendError(err)
tc.TestStepResults = append(tc.TestStepResults, testStepResult)
return
}

Expand Down

0 comments on commit 125663a

Please sign in to comment.