How to rescue 404s from FileHelper.download

In above code whenever FileHelper.download function fail I need to findout the reason for failing. Whether the file is not found (404) or failed for some other reason.

2 Likes