diff --git a/komrade/backend/switchboard.py b/komrade/backend/switchboard.py index 127d6c3..57b4c63 100644 --- a/komrade/backend/switchboard.py +++ b/komrade/backend/switchboard.py @@ -69,7 +69,7 @@ class TheSwitchboard(FlaskView, Logger): # return 'Success! your message was: '+str(data) res = self.op.receive(data) return res - except Exception as e: + except AssertionError as e: self.log('got exception!!',e) return OPERATOR_INTERCEPT_MESSAGE