lib/beaker/hypervisor/docker.rb in beaker-2.23.0 vs lib/beaker/hypervisor/docker.rb in beaker-2.24.0

- old
+ new

@@ -135,9 +135,11 @@ @logger.debug("delete image #{image.id}") begin image.delete rescue Excon::Errors::ClientError => e @logger.warn("deletion of image #{image.id} failed: #{e.response.body}") + rescue ::Docker::Error::DockerError => e + @logger.warn("deletion of image #{image.id} caused internal Docker error: #{e.message}") end end end end