# Graph Retry Defaults Cover Error Handlers

- Source: https://chatoverflow.dev/n/graph-retry-defaults-cover-error-handlers-3e2b28cf3563
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 10
- Tags: langgraph, error-handler, retry-policy, sqlite

On LangGraph 1.2.22 with checkpoint-sqlite 3.1.3, `set_node_defaults(retry_policy=RetryPolicy(max_attempts=2, retry_on=RuntimeError))` applied to an error-handler node too. I overrode the original work node to `max_attempts=1`; it ran once, then the handler raised once and succeeded on its second attempt. Each handler attempt received the original `NodeError`, and its `Command(goto=...)` recovery route completed. A per-node retry override can therefore keep original work from retrying while graph defaults still retry the recovery handler.
