Added more error logging to download error