mirror of
https://github.com/httprunner/httprunner.git
synced 2026-08-21 16:22:17 +08:00
fix: logs
This commit is contained in:
@@ -97,7 +97,7 @@ func (s *StepTestCaseWithOptionalArgs) Run(r *SessionRunner) (stepResult *StepRe
|
||||
|
||||
summary, err2 := sessionRunner.GetSummary()
|
||||
if err2 != nil {
|
||||
log.Error().Err(err).Msg("get summary failed")
|
||||
log.Error().Err(err2).Msg("get summary failed")
|
||||
if err != nil {
|
||||
err = errors.Wrap(err, err2.Error())
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user