fix subscribe channel
This commit is contained in:
@@ -215,7 +215,6 @@ func (rc *RecConn) connect() {
|
||||
if err == nil {
|
||||
if !rc.NonVerbose {
|
||||
log.Printf("Dial: connection was successfully established with %s\n", rc.url)
|
||||
}
|
||||
|
||||
if rc.SubscribeHandler == nil {
|
||||
return
|
||||
@@ -226,6 +225,7 @@ func (rc *RecConn) connect() {
|
||||
}
|
||||
|
||||
log.Printf("Dial: connect handler was successfully established with %s\n", rc.url)
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user