exceptions: Remove dead code msg_format method.

This commit is contained in:
Tim Abbott 2020-08-25 17:12:38 -07:00
parent 25a0481a7b
commit d6ab7ea8ff
1 changed files with 2 additions and 3 deletions

View File

@ -275,6 +275,5 @@ class MissingAuthenticationError(JsonableError):
def __init__(self) -> None: def __init__(self) -> None:
pass pass
@staticmethod # No msg_format is defined since this exception is caught and
def msg_format() -> str: # converted into json_unauthorized in Zulip's middleware.
return _("User is not authenticated")