mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-16 04:47:38 +08:00
fix: no error is logged when the assertion fails
This commit is contained in:
@@ -66,6 +66,7 @@ func (s *requestStats) logTransaction(name string, success bool, responseTime in
|
||||
s.transactionPassed++
|
||||
} else {
|
||||
s.transactionFailed++
|
||||
s.get(name, "transaction").logError("")
|
||||
}
|
||||
s.get(name, "transaction").log(responseTime, contentLength)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user