Message ID | 20120203032910.8955.9307.launchpad@ackee.canonical.com |
---|---|
State | Accepted |
Headers | show |
=== modified file 'lava_dispatcher/job.py' --- lava_dispatcher/job.py 2012-01-27 04:17:56 +0000 +++ lava_dispatcher/job.py 2012-02-02 11:01:31 +0000 @@ -138,7 +138,7 @@ logging.info("Action %s finished." % cmd['command']) if status == 'fail': err_msg = "Lava failed at action %s with error: %s\n" %\ - (cmd['command'], unicode(err, 'ascii', 'replace')) + (cmd['command'], unicode(str(err), 'ascii', 'replace')) if cmd['command'] == 'lava_test_run': err_msg += "Lava failed on test: %s" %\ params.get('test_name', "Unknown")