Commit 09503a48 authored by Rémi Duraffort's avatar Rémi Duraffort
Browse files

Manually revert d31a8462: errors are already saved

Change-Id: Ic9ab5f104c21c351d3ca7698c72d8b5f94bfd228
parent d85f99e1
......@@ -313,8 +313,6 @@ class Command(BaseCommand):
status = TestJob.INCOMPLETE
self.logger.info("[%d] %s => END with error %d", job_id, hostname, job_status)
self.logger.error("[%d] Error: %s", job_id, error_msg)
# Set the failure comment
TestJob.objects.filter(id=job_id).update(failure_comment=error_msg)
else:
status = TestJob.COMPLETE
self.logger.info("[%d] %s => END", job_id, hostname)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment