Merge "Avoid UnicodeEncodeError exception on exception"
This commit is contained in:
@@ -489,7 +489,7 @@ def main():
|
|||||||
|
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
logger.debug(e, exc_info=1)
|
logger.debug(e, exc_info=1)
|
||||||
print >> sys.stderr, "ERROR: %s" % str(e)
|
print >> sys.stderr, "ERROR: %s" % e.message
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user