diff --git a/webapp/titanembeds/blueprints/gateway/gateway.py b/webapp/titanembeds/blueprints/gateway/gateway.py index 815ce78..fb9d383 100644 --- a/webapp/titanembeds/blueprints/gateway/gateway.py +++ b/webapp/titanembeds/blueprints/gateway/gateway.py @@ -11,6 +11,9 @@ class Gateway(Namespace): db.session.commit() db.session.remove() + def on_error(self): + disconnect() + def on_connect(self): emit('hello')