Merge "Stop using deprecated 'message' attribute in Exception"

This commit is contained in:
Jenkins 2017-07-24 18:32:20 +00:00 committed by Gerrit Code Review
commit 7c3d218b2b
1 changed files with 1 additions and 1 deletions

View File

@ -529,5 +529,5 @@ class HTMLViewer(object):
--></a></td></tr>' % (app_path,
profile_id, nfls))
except Exception as ex:
html.append("Exception:" % ex.message)
html.append("Exception:" % str(ex))
return ''.join(html)