mirror of
https://github.com/zulip/zulip.git
synced 2025-11-18 21:06:16 +00:00
exceptions: Add link to rate-limiting docs in 429 response.
This commit is contained in:
committed by
Tim Abbott
parent
5c2b0d91d5
commit
c6a60fd533
@@ -268,7 +268,9 @@ class RateLimitedError(JsonableError):
|
|||||||
@staticmethod
|
@staticmethod
|
||||||
@override
|
@override
|
||||||
def msg_format() -> str:
|
def msg_format() -> str:
|
||||||
return _("API usage exceeded rate limit")
|
return _(
|
||||||
|
"API usage exceeded rate limit; see https://zulip.com/api/http-headers#rate-limiting-response-headers"
|
||||||
|
)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@override
|
@override
|
||||||
|
|||||||
Reference in New Issue
Block a user