diff --git a/supertokens_python/framework/flask/flask_middleware.py b/supertokens_python/framework/flask/flask_middleware.py index 7c7ee6dc..957b47cf 100644 --- a/supertokens_python/framework/flask/flask_middleware.py +++ b/supertokens_python/framework/flask/flask_middleware.py @@ -60,7 +60,7 @@ def _(): if result is not None: if isinstance(result, FlaskResponse): return result.response - raise Exception(f"Should never come here, {type(result)=}") + raise Exception("Should never come here") return None @app.after_request