-
-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
When Telegram returns the "Too Many Requests" exception when uploading many files, it returns the following data: {"ok":false,"error_code":400,"description":"Bad Request: too Many Requests: retry after 8"}. The code to create a TooMuchRequestsException object checks if the description.contains("Too Many Requests"), which is not true due to the capitalization of "too". Therefore, I propose using CharSequence#contains with ignoreCase = true, or at least correcting the code to the correct capitalization.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels