Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
Merge 48572a4 into 283997c
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed Apr 1, 2015
2 parents 283997c + 48572a4 commit c7ecfbe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions relengapi/blueprints/badpenny/execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ def __init__(self, task_name, job):

def log_message(self, message):
"""Add MESSAGE to the log output of the job"""
logger.debug("%r: %s" % (self.task_name, message))
self._log_output.append(message)

def _start(self):
Expand Down Expand Up @@ -63,6 +64,7 @@ def _run_job(task_name, job_id):

job_status._start()

logger.info("Running task %r id %r" % (task_name, job_id))
try:
task.task_func(job_status)
except Exception:
Expand Down

0 comments on commit c7ecfbe

Please sign in to comment.