Optimized error handling when loading data from remote.