mirror of
https://github.com/harness/drone.git
synced 2025-05-06 16:11:46 +08:00
commit
fd620bd5e8
@ -224,7 +224,7 @@ func start(c *cli.Context) {
|
|||||||
|
|
||||||
// initialize the stomp session and authenticate.
|
// initialize the stomp session and authenticate.
|
||||||
if err = client.Connect(opts...); err != nil {
|
if err = client.Connect(opts...); err != nil {
|
||||||
logger.Warningf("session failed, retry in %v", backoff, err)
|
logger.Warningf("session failed, retry in %v. %s", backoff, err)
|
||||||
<-time.After(backoff)
|
<-time.After(backoff)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user