-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception caught in Api Request NoSuchMethodError #90
Comments
Same issue occurs in history screen too, in case of empty list. |
@rj-since-2000 I guess you can create one single issue detailing all the error handling issues and I guess @tusharojha is already working on the error handling PR |
Not all of these but yes majorly the issues related to error handling will be resolved in #64. |
@tusharojha Could you mention the issues that your PR might resolve so that @rj-since-2000 can work on the others. |
@pratikbaid3 @tusharojha |
|
@tusharojha If you have solved this issue in #64 I will close this ? |
There is no check for torrent list response from ApiRequest before accessing its path keys so when the torrent list is empty still it tries to access 'keys' getter which doesn't exist.
@harchani-ritik I propose to add a check for elements/size of response torrent list before accessing any of it's method to prevent this exception.
The text was updated successfully, but these errors were encountered: