Update git submodules
* Update zaqar from branch 'master' - Merge "Fix exception mishandling" - 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>
This commit is contained in:
parent
504d6dbc49
commit
0504a6f064
2
zaqar
2
zaqar
|
@ -1 +1 @@
|
|||
Subproject commit ffd8b5621f9db6e7980acc99c8c664abe03ee5b5
|
||||
Subproject commit 22c457a55b3bdaec7c8aa31f2cf291c175082a80
|
Loading…
Reference in New Issue