message: made the ephemeral validation in dev environment stop the hub when invalid models are found
diff: @@ -59,6 +59,7 @@ async function startIndexing(environment, container) {
  let searchers = await container.lookup(`hub:searchers`);
  let models = await (await container.lookup('config:initial-models'))();
  + try {
  await ephemeralStorage.validateModels(models, async (type, id) => {
  let result;
  try {
  @@ -71,6 +72,10 @@ async function startIndexing(environment, container) {
  return result.data;
  }
  });
  + } catch (err) {
  + log.error(`Shutting down hub due to invalid model(s): ${err.message}`);
  + process.exit(1);
  + }
  }
  setInterval(() => container.lookup('hub:indexers').update(), 600000);
  