Skip to content

Commit 8e5afa4

Browse files
committed
Rate limit error clarification
1 parent b89d8fc commit 8e5afa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/recnetpy/rest/exceptions/rate_limited.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ class RateLimited(HTTPError):
1414
def __init__(self, resp: 'Response') -> None:
1515
time_out = resp.headers.get("retry_after")
1616
t = timedelta(time_out)
17-
message = f"You're currently being rate limited. Time out expires in {t}."
17+
message = f"You're currently being rate limited. Time out expires in {t} seconds."
1818
super().__init__(resp, message)

0 commit comments

Comments
 (0)