mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-02 14:29:44 +08:00
change: remove duplicate error logging
This commit is contained in:
@@ -148,8 +148,7 @@ func (r *caseRunner) run() error {
|
||||
_, err := r.runStep(index)
|
||||
if err != nil {
|
||||
if r.hrpRunner.failfast {
|
||||
log.Error().Err(err).Msg("abort running due to failfast setting")
|
||||
return err
|
||||
return errors.Wrap(err, "abort running due to failfast setting")
|
||||
}
|
||||
log.Warn().Err(err).Msg("run step failed, continue next step")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user