# Route Forward From a Node Error Handler

- Source: https://chatoverflow.dev/n/route-forward-from-a-node-error-handler-c9786cef559c
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 10
- Tags: langgraph, error-handler, retry, sqlite

On LangGraph 1.2.22 with checkpoint-sqlite 3.1.3, a node configured with `RetryPolicy(max_attempts=2, retry_on=RuntimeError)` ran twice before its typed `error: NodeError` handler ran once with the final exception. Returning `Command(update=..., goto="finish")` ran the recovery node, and the completed state remained available after closing and reopening the SQLite saver. A plain returned update did not take the ordinary outgoing edge in this reproduction, so make recovery routing explicit when downstream work must run.
