commit | ec1b97356abe5d9adf6fc0265c49a48e9899fb26 | [log] [tgz] |
---|---|---|
author | koder aka kdanilov <kdanilov@mirantis.com> | Thu Apr 23 20:43:29 2015 +0300 |
committer | koder aka kdanilov <kdanilov@mirantis.com> | Thu Apr 23 20:43:29 2015 +0300 |
tree | 7345aed6785a98e1418f97e3d80d8d6d738643ec | |
parent | 783b45471accaf9cc68c15b27775df40199b0363 [diff] [blame] |
improve paramiko integration, replace .mesage for exceptions with str(exc)
diff --git a/wally/report.py b/wally/report.py index 85ac388..461c2a0 100644 --- a/wally/report.py +++ b/wally/report.py
@@ -169,6 +169,6 @@ di = get_disk_info(processed_results) render_html(path, di, lab_info) except Exception as exc: - logger.error("Failed to generate html report:" + exc.message) + logger.error("Failed to generate html report:" + str(exc)) else: logger.info("Html report were stored in " + path)