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