commit/galaxy-central: carlfeberhard: Histories API: use proper logging technique for exceptions
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/80db2712720c/ Changeset: 80db2712720c User: carlfeberhard Date: 2013-10-21 23:32:12 Summary: Histories API: use proper logging technique for exceptions Affected #: 1 file diff -r fbf1898d7dea43a46a0f8ec80fd41540ac6fc204 -r 80db2712720c4ea153e51bbc72e981cc9886e73c lib/galaxy/webapps/galaxy/api/histories.py --- a/lib/galaxy/webapps/galaxy/api/histories.py +++ b/lib/galaxy/webapps/galaxy/api/histories.py @@ -113,7 +113,7 @@ except Exception, e: msg = "Error in history API at showing history detail: %s" % ( str( e ) ) - log.exception( e ) + log.exception( msg ) trans.response.status = 500 return msg @@ -148,7 +148,7 @@ except Exception, e: msg = "Error in history API when switching current history: %s" % ( str( e ) ) - log.exception( e ) + log.exception( msg ) trans.response.status = 500 return msg 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