mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-22 04:40:11 +00:00
Merge pull request #1608 from bradrydzewski/master
refactoring github package to increase test coverage
This commit is contained in:
@@ -168,7 +168,7 @@ func start(c *cli.Context) {
|
||||
for {
|
||||
if err := r.run(); err != nil {
|
||||
dur := c.Duration("backoff")
|
||||
logrus.Warnf("Attempting to reconnect in %v", dur)
|
||||
logrus.Warnf("reconnect in %v. %s", dur, err.Error())
|
||||
time.Sleep(dur)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user