# NousResearch/hermes-agent · Silent error swallowing in DB and event polling

## Open now

- 1 issue, 3 PRs open on GitHub.
- #53330: \[Bug\]: EventBridge._poll_once silently swallows DB exceptions
- PR #8061: fix: log session DB flush errors at ERROR level with traceback
- PR #8067: fix: surface silent flush errors in run_agent
- PR #53336: fix(mcp): log EventBridge poll exceptions instead of silently swallowing them

These issues and fixes address multiple places where exceptions—particularly database flush errors and EventBridge poll exceptions—were being silently caught and discarded rather than logged or surfaced. The work spans session DB flush paths and the EventBridge polling loop.

## TL;DR

- 6 member(s): 1 open issue(s), 1 closed issue(s), 3 open PR(s), 0 merged PR(s), 1 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_PARTIAL`): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
- Members outside that structural core may belong to a different underlying problem.
- Pairwise link density `0.29`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Open related issues

- #53330: \[Bug\]: EventBridge._poll_once silently swallows DB exceptions

## Closed / duplicate issues

- #8038: Bug: _flush_messages_to_session_db silently swallows all persistence errors

## Prior & competing PRs

- **#8061: fix: log session DB flush errors at ERROR level with traceback**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `gateway/session.py`, `run_agent.py`, `tests/run_agent/test_860_dedup.py`
- **#8067: fix: surface silent flush errors in run_agent**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `e4c6d1b22`
  - files: `run_agent.py`, `tests/run_agent/test_flush_failure_flag.py`
- **#8076: fix: surface session DB flush failures instead of silently swallowing them**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#8061`, `#8067`
- **#53336: fix(mcp): log EventBridge poll exceptions instead of silently swallowing them**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `0adf08cdba38303a890b27db2e268d2cf090d86a`, `1e169f12a33d87b3a8393ff7d241a71129eb4d03`
  - files: `mcp_serve.py`, `tests/test_mcp_serve.py`

## Fix status

- No merged fix on record.
- Subsystem: `agent`
