mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix the raven conditional requirement
This commit is contained in:
@@ -62,7 +62,7 @@ class ConditionalDependencies( object ):
|
||||
return asbool( self.config["fluent_log"] )
|
||||
|
||||
def check_raven( self ):
|
||||
return asbool( self.config["sentry_dsn"] )
|
||||
return self.config.get("sentry_dsn", None) is not None
|
||||
|
||||
def check_weberror( self ):
|
||||
return ( asbool( self.config["debug"] ) and
|
||||
|
||||
Reference in New Issue
Block a user