Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

fix(desktop): log unreadable frontend index recovery

rubenluetke10-beepf5a968e67d23
diff --git a/jarvis/ui/web/spa_build.py b/jarvis/ui/web/spa_build.py
index e63d4543c4..8d811d5010 100644
--- a/jarvis/ui/web/spa_build.py
+++ b/jarvis/ui/web/spa_build.py
@@ -32,6 +32,7 @@ poll.
from __future__ import annotations
+import logging
import re
from pathlib import Path
@@ -119,6 +120,9 @@ def recover_conflicted_index(index_file: Path, dist_dir: Path) -> str | None:
keepends=True
)
except OSError:
+ logging.getLogger(__name__).warning(
+ "Cannot inspect the conflicted frontend index at %s", index_file, exc_info=True
+ )
return None
if not any(line.startswith("<<<<<<< ") for line in lines):
return None