mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2025-11-04 15:57:02 +01:00
Move error handling to utils
This commit is contained in:
@@ -11,9 +11,6 @@ class Gateway(Namespace):
|
||||
db.session.commit()
|
||||
db.session.remove()
|
||||
|
||||
def on_error(self):
|
||||
disconnect()
|
||||
|
||||
def on_connect(self):
|
||||
emit('hello')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user