handle failed rapp loading properly.