mirror of https://github.com/zulip/zulip.git
exceptions: Remove dead code msg_format method.
This commit is contained in:
parent
25a0481a7b
commit
d6ab7ea8ff
|
@ -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")
|
|
||||||
|
|
Loading…
Reference in New Issue