majidgolshadi / Android-Download-Manager-Pro

Android/Java download manager library help you to download files in parallel mechanism in some chunks.
MIT License
1.61k stars 317 forks source link

AsyncWorker exception throwing #19

Open PetoU opened 8 years ago

PetoU commented 8 years ago

in run() method of AsyncWorker, you catch MalformedURLException and IOException. But since it is printing only in stackTrace, I don't have any way how to propagate those errors to UI to stop / restart download. Is there any way around ? Or it would be nice to have some exception callback. Thanks