kuryr-kubernetes/kuryr_kubernetes/controller/managers
Michał Dulko a63abbca90 Avoid doing `raise ex` when only logging
When reraising the exception with something like:

 try:
     (...)
 except Exception as ex:
     LOG.error("Error happened: %s", ex)
     raise ex

we lose the initial traceback information. This makes debugging
significantly harder. This commit removes such occurrences and converts
most cases to something like:

 try:
     (...)
 except Exception:
     LOG.exception("Error happened")
     raise

This way preserves the initial traceback.

Change-Id: I6506ff689697520faa64325c127d7e9d49cff9fa
Closes-Bug: 1813186
2019-01-24 17:41:41 +01:00
..
__init__.py Add Pool Manager to handle subports 2017-10-10 08:10:14 +00:00
health.py Ensure controller healthchecks passes without CRDs 2018-12-21 12:55:55 +00:00
pool.py Avoid doing `raise ex` when only logging 2019-01-24 17:41:41 +01:00