fix redial logging
This commit is contained in:
@@ -482,7 +482,7 @@ func (rc *RecConn) connect() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if !rc.getNonVerbose() {
|
if !rc.getNonVerbose() {
|
||||||
rc.log(LogValues{Err: err, Msg: fmt.Sprintf("Dial: will try again in %+v seconds", nextItvl)})
|
rc.log(LogValues{Err: err, Msg: fmt.Sprintf("Dial: will try again in %+v seconds", nextItvl), Url: rc.url})
|
||||||
}
|
}
|
||||||
|
|
||||||
time.Sleep(nextItvl)
|
time.Sleep(nextItvl)
|
||||||
|
|||||||
Reference in New Issue
Block a user