Improve error message on loading failure #77730