Improved error handling for remote assets.