diff --git a/libpod/pod_api.go b/libpod/pod_api.go index 9b0cd5c32f..d385c56286 100644 --- a/libpod/pod_api.go +++ b/libpod/pod_api.go @@ -262,7 +262,10 @@ func (p *Pod) stopIfOnlyInfraRemains(ctx context.Context, ignoreID string) error } } - _, err = p.stopWithTimeout(ctx, true, -1) + errs, err := p.stopWithTimeout(ctx, true, -1) + for ctr, e := range errs { + logrus.Errorf("Failed to stop container %s: %v", ctr, e) + } return err }