JiuwenSwarm is an intelligent AI Agent built on openJiuwen. It extends the powerful capabilities of large language models directly to your fingertips through various communication apps you use daily.
Python
fix:企业版 Gateway storage wiring 失败时 fail-fast 退出
meizi65e53931b5288
diff --git a/jiuwenswarm/gateway/app_gateway.py b/jiuwenswarm/gateway/app_gateway.pyindex 5d436e8e47..acbf82f0c5 100644--- a/jiuwenswarm/gateway/app_gateway.py+++ b/jiuwenswarm/gateway/app_gateway.py@@ -1673,6 +1673,12 @@ async def _run_with_telemetry(log_exc,)except Exception as exc: # noqa: BLE001+ if is_enterprise():+ logger.error(+ "[App] storage repository setup failed (enterprise fail-fast): %s",+ exc,+ )+ raiselogger.warning("[App] storage repository setup failed, using legacy storage: %s",exc,@@ -1693,6 +1699,12 @@ async def _run_with_telemetry(await wire_enterprise_manager_ws_store_async(gateway_storage_ctx, full_cfg)logger.info("[App] Manager WS write path wired to PersistentStore")except Exception as exc: # noqa: BLE001+ if is_enterprise():+ logger.error(+ "[App] enterprise Manager WS storage wiring failed (fail-fast): %s",+ exc,+ )+ raiselogger.warning("[App] enterprise Manager WS storage wiring failed: %s",exc,