Exception handling for downloads