commit | 015fb6ea153435f049220d1c909816613d448d61 | [log] [tgz] |
---|---|---|
author | Zane Bitter <zbitter@redhat.com> | Mon Jun 06 17:06:19 2016 -0400 |
committer | Zane Bitter <zbitter@redhat.com> | Mon Jun 27 11:28:34 2016 +0200 |
tree | 37502d132938552f24bf5bcdaa1fe22981bc9d06 | |
parent | 067c6b79e1fe54b3b258f1edf6a4bc1108979a40 [diff] |
Use LOG.exception() properly Contrary to popular belief, LOG.exception() is not a method to which you pass an exception in order to log it. Rather, you pass the message to be logged at ERROR level, and the exception is retrieved automatically via sys.exc_info(). Change-Id: I197cf94ada34a7ce80fc4026a99d95cd50823882