mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
feat: merge refactor
This commit is contained in:
@@ -1 +1 @@
|
||||
v5.0.0-beta-2409262247
|
||||
v5.0.0-beta-2409271506
|
||||
|
||||
@@ -570,8 +570,12 @@ func (r *SessionRunner) Start(givenVars map[string]interface{}) (summary *TestCa
|
||||
|
||||
if client.Device.LogEnabled() {
|
||||
log, err1 := client.Driver.StopCaptureLog()
|
||||
if err != nil {
|
||||
err = errors.Wrap(err1, "get summary failed")
|
||||
if err1 != nil {
|
||||
if err == nil {
|
||||
err = errors.Wrap(err1, "stop capture log failed")
|
||||
} else {
|
||||
err = errors.Wrap(err, "stop capture log failed")
|
||||
}
|
||||
return
|
||||
}
|
||||
logs["content"] = log
|
||||
|
||||
Reference in New Issue
Block a user