commit/galaxy-central: natefoo: Log the underlying cause of job output collection failure in the drmaa runner.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/bfbd456ebbbe/ changeset: bfbd456ebbbe user: natefoo date: 2012-10-26 16:55:46 summary: Log the underlying cause of job output collection failure in the drmaa runner. affected #: 1 file diff -r 720b4067ab5e5b617569278155ab21216c0de176 -r bfbd456ebbbe7cff89ffda39091d37ffdbdf2d2a lib/galaxy/jobs/runners/drmaa.py --- a/lib/galaxy/jobs/runners/drmaa.py +++ b/lib/galaxy/jobs/runners/drmaa.py @@ -353,11 +353,11 @@ # The exit code should only be 8 bits, but read more anyway exit_code_str = ecfh.read(32) which_try = (self.app.config.retry_job_output_collection + 1) - except: + except Exception, e: if which_try == self.app.config.retry_job_output_collection: stdout = '' stderr = 'Job output not returned from cluster' - log.debug( stderr ) + log.warning( '%s: %s' % ( stderr, str( e ) ) ) else: time.sleep(1) which_try += 1 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