@elizaos/plugin-bootstrap 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -4907,9 +4907,8 @@ var settingsProvider = {
4907
4907
  world = await runtime.getWorld(room.worldId);
4908
4908
  if (!world) {
4909
4909
  logger15.error(`No world found for room ${room.worldId}`);
4910
- throw new Error(`No world found for room ${room.worldId}`);
4911
4910
  }
4912
- serverId = world.serverId;
4911
+ serverId = world?.serverId;
4913
4912
  if (serverId) {
4914
4913
  worldSettings = await getWorldSettings2(runtime, serverId);
4915
4914
  } else {
@@ -4917,7 +4916,6 @@ var settingsProvider = {
4917
4916
  }
4918
4917
  } catch (error) {
4919
4918
  logger15.error(`Error processing world data: ${error}`);
4920
- throw new Error("Failed to process world information");
4921
4919
  }
4922
4920
  }
4923
4921
  if (!serverId) {