From c657cd663ffa3b72980583b44c5dd9ac0410178b Mon Sep 17 00:00:00 2001 From: Nikolay Pavlovich Date: Wed, 7 Sep 2022 02:08:58 +0300 Subject: [PATCH] fix redial logging --- recws.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recws.go b/recws.go index e4d5d6e..1ad0b83 100644 --- a/recws.go +++ b/recws.go @@ -482,7 +482,7 @@ func (rc *RecConn) connect() { } 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)