remove exits in ingress controller

This commit is contained in:
Florian Pitance 2022-11-15 16:27:31 +01:00 committed by GitHub
parent 3ec15eb4b0
commit d199f124b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -270,12 +270,10 @@ class IngressController(Controller, ConfigCaller):
self.__logger.error(
f"Exception while reading k8s event (type = {watch_type}) :\n{format_exc()}",
)
sys_exit(1)
except:
self.__logger.error(
f"Unknown exception while reading k8s event (type = {watch_type}) :\n{format_exc()}",
)
sys_exit(2)
finally :
if locked:
self.__internal_lock.release()