Fix error handling unsupported (#1994)

* Try to catch unhealthy

* revert
This commit is contained in:
Pascal Vizeli 2020-08-29 12:03:29 +02:00 committed by GitHub
parent a9a2c35f06
commit 7e1b179cdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -149,7 +149,7 @@ class Core(CoreSysAttributes):
# Check if image names from denylist exist
try:
if await self.sys_run_in_executor(self.sys_docker.check_denylist_images):
self.coresys.supported = False
self.supported = False
self.healthy = False
except DockerAPIError:
self.healthy = False