mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-05 23:51:25 +08:00
fix: mask error logging that worker fails to sign out
This commit is contained in:
@@ -830,10 +830,8 @@ func (r *workerRunner) run() {
|
|||||||
log.Warn().Msg("Timeout waiting for sending quit message to master, boomer will quit any way.")
|
log.Warn().Msg("Timeout waiting for sending quit message to master, boomer will quit any way.")
|
||||||
}
|
}
|
||||||
|
|
||||||
if atomic.LoadInt32(&r.client.failCount) < 2 {
|
if err = r.client.signOut(r.client.config.ctx); err != nil {
|
||||||
if err = r.client.signOut(r.client.config.ctx); err != nil {
|
log.Info().Err(err).Msg("failed to sign out")
|
||||||
log.Error().Err(err).Msg("failed to sign out")
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
r.client.close()
|
r.client.close()
|
||||||
|
|||||||
Reference in New Issue
Block a user