mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-21 21:30:48 +02:00
Output error message when a pull failed.
This commit is contained in:
parent
4eb0000e0f
commit
714e30f532
1 changed files with 1 additions and 2 deletions
|
@ -45,8 +45,7 @@ func Update(client container.Client, names []string, cleanup bool, noRestart boo
|
|||
for i, container := range containers {
|
||||
stale, err := client.IsContainerStale(container)
|
||||
if err != nil {
|
||||
log.Infof("Unable to update container %s. Proceeding to next.", containers[i].Name())
|
||||
log.Debug(err)
|
||||
log.Infof("Unable to update container %s, err='%s'. Proceeding to next.", containers[i].Name(), err)
|
||||
stale = false
|
||||
}
|
||||
containers[i].Stale = stale
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue