mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-04 17:28:49 -04:00
Fixup comments and add warning
This commit is contained in:
parent
dc70789056
commit
6cb415b63f
3 changed files with 11 additions and 6 deletions
|
@ -269,7 +269,7 @@ def start(hs, listeners=None):
|
|||
hs.start_listening(listeners)
|
||||
hs.get_datastore().start_profiling()
|
||||
|
||||
setup_sentry_io(hs)
|
||||
setup_sentry(hs)
|
||||
except Exception:
|
||||
traceback.print_exc(file=sys.stderr)
|
||||
reactor = hs.get_reactor()
|
||||
|
@ -278,8 +278,8 @@ def start(hs, listeners=None):
|
|||
sys.exit(1)
|
||||
|
||||
|
||||
def setup_sentry_io(hs):
|
||||
"""Enable sentry.io integration, if enabled in configuration
|
||||
def setup_sentry(hs):
|
||||
"""Enable sentry integration, if enabled in configuration
|
||||
|
||||
Args:
|
||||
hs (synapse.server.HomeServer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue