mirror of
https://github.com/zulip/zulip.git
synced 2025-11-17 20:41:46 +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
|
||||
@override
|
||||
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
|
||||
@override
|
||||
|
||||
Reference in New Issue
Block a user