mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-01 12:02:05 +00:00
change(ci): log json decode error in durations
This commit is contained in:
parent
707ae6e623
commit
1a75387fa8
1 changed files with 2 additions and 1 deletions
|
|
@ -469,7 +469,8 @@ def _load_durations(repo_root: Path) -> dict[str, float]:
|
|||
return {}
|
||||
try:
|
||||
return json.loads(path.read_text())
|
||||
except (json.JSONDecodeError, OSError):
|
||||
except (json.JSONDecodeError, OSError) as e:
|
||||
print("[ERROR] Failed to load json durations file! {e}")
|
||||
return {}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue