Sean McGinnis e135e43935
Fix exception mishandling
There were a lot of instances of exceptions being raised or logged
incorrectly.

When reraising an exception, "raise" should be called, not "raise ex".
The second form will cause the original traceback to be modified to the
new location.

LOG.exception is the same as LOG.error with the additional behavior of
logging any exception that is in the current scope. Therefore, doing
something like "LOG.exception(ex)" is redundant and causes the exception
message to be logged twice. Logging should be done with some sort of
textual message without the exception object.

Change-Id: I149c8fe7ef4b6628f910943587ab4302cc371441
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2019-05-29 17:12:31 -05:00
..
2019-05-29 17:12:31 -05:00
2019-05-29 17:12:31 -05:00
2017-07-05 03:12:32 -04:00
2019-02-01 08:08:28 +00:00
2019-05-29 17:12:31 -05:00
2019-05-29 09:31:18 -05:00
2019-05-29 17:12:31 -05:00
2019-05-29 17:12:31 -05:00
2017-09-22 01:17:51 +00:00
2017-03-09 11:00:29 +08:00