2 new commits in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/0fe529fb7881/ Changeset: 0fe529fb7881 User: dannon Date: 2015-01-30 16:52:12+00:00 Summary: Add sentry logging to config. Affected #: 1 file diff -r 81c215f35665f2361ead5d60fe0a12ee24f31a0b -r 0fe529fb7881daef76b08eb113bd5a3d4480e358 lib/galaxy/webapps/tool_shed/config.py --- a/lib/galaxy/webapps/tool_shed/config.py +++ b/lib/galaxy/webapps/tool_shed/config.py @@ -8,6 +8,7 @@ import logging.config from optparse import OptionParser import ConfigParser +from galaxy import eggs from galaxy.util import string_as_bool, listify log = logging.getLogger( __name__ ) @@ -288,3 +289,11 @@ # Hook everything up handler.setFormatter( formatter ) root.addHandler( handler ) + # If sentry is configured, also log to it + if config.sentry_dsn: + eggs.require( "raven" ) + from raven.handlers.logging import SentryHandler + sentry_handler = SentryHandler( config.sentry_dsn ) + sentry_handler.setLevel( logging.WARN ) + root.addHandler( sentry_handler ) + https://bitbucket.org/galaxy/galaxy-central/commits/3618b7a91e23/ Changeset: 3618b7a91e23 User: dannon Date: 2015-01-30 16:55:51+00:00 Summary: First of probably many changes related to elementtree replacement and futurewarnings. Affected #: 1 file diff -r 0fe529fb7881daef76b08eb113bd5a3d4480e358 -r 3618b7a91e23096ecf7ce5842c1e16c749251a4d lib/galaxy/datatypes/registry.py --- a/lib/galaxy/datatypes/registry.py +++ b/lib/galaxy/datatypes/registry.py @@ -346,7 +346,7 @@ """ sniffer_elem_classes = [ e.attrib[ 'type' ] for e in self.sniffer_elems ] sniffers = root.find( 'sniffers' ) - if sniffers: + if sniffers is not None: for elem in sniffers.findall( 'sniffer' ): # Keep a status of the process steps to enable stopping the process of handling the sniffer if necessary. ok = True 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.