Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
exceptions: Remove dead code msg_format method.
Tim Abbottd6ab7ea8ffbd
diff --git a/zerver/lib/exceptions.py b/zerver/lib/exceptions.pyindex ca6b04a9a8b..397eaf60195 100644--- a/zerver/lib/exceptions.py+++ b/zerver/lib/exceptions.py@@ -275,6 +275,5 @@ class MissingAuthenticationError(JsonableError):def __init__(self) -> None:pass- @staticmethod- def msg_format() -> str:- return _("User is not authenticated")+ # No msg_format is defined since this exception is caught and+ # converted into json_unauthorized in Zulip's middleware.