Sometimes named hooks inspection will seemingly fail the first time then work the second time. (e.g. using a DEV build of Facebook.com, the `<CometTheme>` component currently does this).

I _think_ this might indicate a timeout during inspection? (So the retry is fast because everything is cached.)
})
          .catch(error => {
            if (__DEBUG__) {
              console.log(`fetchFile() Could not read text for url "${url}"`);
            }
            reject(null);
          });
      } else {
        if (__DEBUG__) {
          console.log(`fetchFile() Got bad response for url "${url}"`);
        }
        reject(null);
      }
    });
  });
}
function findHookNames(
  hooksList: Array<HooksNode>,
  locationKeyToHookSourceData: Map<string, HookSourceData>,
): HookNames {
  const map: HookNames = new Map();
  hooksList.map(hook => {
    
    
    if (isNonDeclarativePrimitiveHook(hook)) {
      if (__DEBUG__) {
        console.log('findHookNames() Non declarative primitive hook');
      }
      
      return null;