Browse Source

Ignore all errors from services

master
Chris Smith 5 years ago
parent
commit
d86960626c
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      clean_registry.py

+ 1
- 3
clean_registry.py View File

218
         # Is a service?
218
         # Is a service?
219
         try:
219
         try:
220
             service = self.docker.services.get(container_or_service)
220
             service = self.docker.services.get(container_or_service)
221
-        except NotFound:
221
+        except:
222
             pass
222
             pass
223
-        except (APIError, exceptions.ConnectionError) as err:
224
-            error(err)
225
         else:
223
         else:
226
             # Get list of containers to pause them all
224
             # Get list of containers to pause them all
227
             try:
225
             try:

Loading…
Cancel
Save