Private
Public Access
0
0

fix(rag): remove INVESTIGATE diagnostic logging

This commit is contained in:
2026-06-10 17:37:03 -04:00
parent 5a9b8d6891
commit f51bfdcd05
+1 -3
View File
@@ -1489,10 +1489,8 @@ class AppController:
else:
self._set_rag_status("ready")
except Exception as e:
import traceback as _tb_investigate
self._set_rag_status(f"error: {e}")
sys.stderr.write(f"[RAG_INVESTIGATE] exception type={type(e).__name__}, module={type(e).__module__}, str={str(e)!r}\n")
sys.stderr.write(f"[RAG_INVESTIGATE] traceback:\n{_tb_investigate.format_exc()}\n")
sys.stderr.write(f"[DEBUG RAG] Failed to sync engine: {e}\n")
sys.stderr.flush()
with self._rag_sync_lock:
if not self._rag_sync_dirty: