[downloader/dash] Improve error handling (#16927)