FileDownLoadApp icon indicating copy to clipboard operation
FileDownLoadApp copied to clipboard

Crash on 404

Open rklados opened this issue 14 years ago • 0 comments

When sending the results back to the main thread on a URL that responds with an error such as 404, the plugin will crash the entire application. The issue seems to be with the following call:

[self performSelectorOnMainThread:@selector(downloadCompleteWithError:)
withObject:[error description] waitUntilDone:YES];

commenting this out allows the application to fail more gracefully when encountering a page with error.

rklados avatar Apr 15 '11 19:04 rklados