If there an exception thrown on FileDownloadListener#blockComplete
, callback error instead completed.
#305
Labels
Milestone
In the current version, if you occur an exception on
FileDownloadListener#blockCompleted
, you must handle it by yourself, It does not so make sense considerFileDownloadListener
haserror
method, but we don't call back it.In the next version, FileDownloader will handle any
Throwable
which thrown onFileDownloadListener#blockComplete
method and callbackFileDownloadListener#error
method instead of still call backFileDownloadListener#completed
.The text was updated successfully, but these errors were encountered: