Make change set comment rate limit errors display properly

Fixes #4320
This commit is contained in:
Tom Hughes 2023-11-02 10:08:19 +00:00
parent b5995c5175
commit ef4c9a3306
3 changed files with 6 additions and 2 deletions

View file

@ -355,6 +355,10 @@ module OSM
# Raised when a rate limit is exceeded
class APIRateLimitExceeded < APIError
def initialize
super "Rate limit exceeded"
end
def status
:too_many_requests
end