Commit f4aee420 authored by Daniele Venzano's avatar Daniele Venzano

Manage Docker logs exception

parent e24f111d
......@@ -380,4 +380,8 @@ class SwarmClient:
:param follow:
return self.cli.logs(docker_id, stdout=True, stderr=True, follow=follow, stream=stream, timestamps=True)
except docker.errors.NullResource:
return None
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment