commit/galaxy-central: greg: Fixes in exception handlers in the Tool Shed's create_categories and create_users API modules.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/f24d7ac8ee95/ Changeset: f24d7ac8ee95 User: greg Date: 2014-07-23 15:47:21 Summary: Fixes in exception handlers in the Tool Shed's create_categories and create_users API modules. Affected #: 2 files diff -r 0c62ccbc86246c9aebf8ff78c550234dfa6d5bd5 -r f24d7ac8ee9549fc19435aa1448854e9024982ff lib/tool_shed/scripts/api/create_categories.py --- a/lib/tool_shed/scripts/api/create_categories.py +++ b/lib/tool_shed/scripts/api/create_categories.py @@ -44,7 +44,7 @@ response = submit( url, data, api_key ) except Exception, e: response = str( e ) - log.exception( str( e ) ) + print "Error attempting to create category using URL: ", url, " exception: ", str( e ) create_response_dict = dict( response=response ) create_response_dicts.append( create_response_dict ) diff -r 0c62ccbc86246c9aebf8ff78c550234dfa6d5bd5 -r f24d7ac8ee9549fc19435aa1448854e9024982ff lib/tool_shed/scripts/api/create_users.py --- a/lib/tool_shed/scripts/api/create_users.py +++ b/lib/tool_shed/scripts/api/create_users.py @@ -47,7 +47,7 @@ response = submit( url, data, api_key ) except Exception, e: response = str( e ) - log.exception( str( e ) ) + print "Error attempting to create user using URL: ", url, " exception: ", str( e ) create_response_dict = dict( response=response ) create_response_dicts.append( create_response_dict ) 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