commit/galaxy-central: natefoo: Include the job id in the error message when a job operation raises an exception in the PBS runner.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/71f34e634401/ changeset: 71f34e634401 user: natefoo date: 2012-02-24 21:49:54 summary: Include the job id in the error message when a job operation raises an exception in the PBS runner. affected #: 1 file diff -r 4f8164a1a9c5504152decfb89d54a171d54de988 -r 71f34e63440125da6b2e572ea360b2032cfa79fc lib/galaxy/jobs/runners/pbs.py --- a/lib/galaxy/jobs/runners/pbs.py +++ b/lib/galaxy/jobs/runners/pbs.py @@ -193,7 +193,7 @@ elif op == 'fail': self.fail_job( obj ) except: - log.exception( "Uncaught exception %sing job" % op ) + log.exception( "(%s) Uncaught exception %sing job" % ( getattr( obj, 'job_id', None ), op ) ) def queue_job( self, job_wrapper ): """Create PBS script for a job and submit it to the PBS queue""" Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket