Skip to content

The agent that grows with you

fix(environments): log activity-callback failures at debug

ethernet49a49e863505
diff --git a/tools/environments/base.py b/tools/environments/base.py
index 319093cc43b..3e3d54bc773 100644
--- a/tools/environments/base.py
+++ b/tools/environments/base.py
@@ -181,7 +181,7 @@ def touch_activity_if_due(state: dict, label: str) -> None:
if cb:
cb(f"{label} ({int(now - state['start'])}s elapsed)")
except Exception:
- pass
+ logger.debug("activity callback failed during a long-running command", exc_info=True)
def get_sandbox_dir() -> Path: