commit/galaxy-central: dannon: Broken exception in transfer manager using error vs response['error']
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/1cd27d43ab14/ Changeset: 1cd27d43ab14 User: dannon Date: 2013-08-30 04:55:56 Summary: Broken exception in transfer manager using error vs response['error'] Affected #: 1 file diff -r a1abf7b75d3e28ee0dc800a2ba13498e45d70ca2 -r 1cd27d43ab14111326ab9601c7d818e6b15a3e74 lib/galaxy/jobs/transfer_manager.py --- a/lib/galaxy/jobs/transfer_manager.py +++ b/lib/galaxy/jobs/transfer_manager.py @@ -90,7 +90,7 @@ raise Exception( dict( code=128, message='Did not receive valid response from transfer daemon for state' ) ) if 'error' in response: # Response was valid but Request resulted in an error - raise Exception( error ) + raise Exception( response['error']) else: # Request was valid response['result']['transfer_job_id'] = tj.id 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)
-
commits-noreply@bitbucket.org