Update route preloader to handle resolve errors.