Fix broken sentry client
This commit is contained in:
parent
887836045d
commit
1b9224fc79
|
@ -56,8 +56,8 @@ class config:
|
|||
self.config.get("debug","time")
|
||||
|
||||
self.config.get("sentry","enable")
|
||||
self.config.get("sentry","banchodns")
|
||||
self.config.get("sentry","ircdns")
|
||||
self.config.get("sentry","banchodsn")
|
||||
self.config.get("sentry","ircdsn")
|
||||
|
||||
self.config.get("discord","enable")
|
||||
self.config.get("discord","boturl")
|
||||
|
@ -118,8 +118,8 @@ class config:
|
|||
|
||||
self.config.add_section("sentry")
|
||||
self.config.set("sentry", "enable", "0")
|
||||
self.config.set("sentry", "banchodns", "")
|
||||
self.config.set("sentry", "ircdns", "")
|
||||
self.config.set("sentry", "banchodsn", "")
|
||||
self.config.set("sentry", "ircdsn", "")
|
||||
|
||||
self.config.add_section("discord")
|
||||
self.config.set("discord", "enable", "0")
|
||||
|
|
|
@ -648,7 +648,7 @@ class Server:
|
|||
# Sentry
|
||||
sentryClient = None
|
||||
if glob.sentry:
|
||||
sentryClient = raven.Client(glob.conf.config["sentry"]["ircdns"])
|
||||
sentryClient = raven.Client(glob.conf.config["sentry"]["ircdsn"])
|
||||
|
||||
serversocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||
serversocket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
|
||||
|
|
Loading…
Reference in New Issue
Block a user