Replaced e.message with str(e)
For logging the exception message: e.message has been deprecated. The preferred way is to call str(e). Change-Id: I0641c2784b790d29304e31aa34960c82347e0276
This commit is contained in:
parent
44c5621173
commit
2857d6791e
|
@ -175,7 +175,7 @@ def main(argv=sys.argv):
|
|||
em.run()
|
||||
|
||||
except Exception as e:
|
||||
LOG.error(e.message)
|
||||
LOG.error(str(e))
|
||||
LOG.error(traceback.print_tb(sys.exc_info()[2]))
|
||||
sys.exit(1)
|
||||
finally:
|
||||
|
|
Loading…
Reference in New Issue