Spaces:
Sleeping
Sleeping
Claude Code Claude Opus 4.6 commited on
Commit ·
b52f557
1
Parent(s): daa2ce6
Claude Code: fix cain_status.json path in error_handlers.py
Browse filesFix incorrect path /app/.openclaw -> /app/openclaw/.openclaw
This resolves the "unknown" state caused by FileNotFoundError.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- error_handlers.py +1 -1
error_handlers.py
CHANGED
|
@@ -57,7 +57,7 @@ async def generic_exception_handler(request: Request, exc: Exception) -> JSONRes
|
|
| 57 |
|
| 58 |
|
| 59 |
# Configuration paths
|
| 60 |
-
OPENCLAW_DIR = "/app/.openclaw"
|
| 61 |
STATUS_FILE = f"{OPENCLAW_DIR}/agents/cain_status.json"
|
| 62 |
|
| 63 |
|
|
|
|
| 57 |
|
| 58 |
|
| 59 |
# Configuration paths
|
| 60 |
+
OPENCLAW_DIR = "/app/openclaw/.openclaw"
|
| 61 |
STATUS_FILE = f"{OPENCLAW_DIR}/agents/cain_status.json"
|
| 62 |
|
| 63 |
|