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:
Cao Xuan Hoang 2017-01-16 14:33:28 +07:00
parent 44c5621173
commit 2857d6791e
1 changed files with 1 additions and 1 deletions

View File

@ -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: