From d7c364c5bb71b23047efea822215d739404a557e Mon Sep 17 00:00:00 2001 From: Nuno Campos Date: Tue, 3 Jun 2025 17:23:45 -0700 Subject: [PATCH] Port step_timeout/GraphBubbleUp fix to v0 See fix and tests in original PR https://github.com/langchain-ai/langgraph/pull/4950 --- libs/langgraph/langgraph/pregel/runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/langgraph/langgraph/pregel/runner.py b/libs/langgraph/langgraph/pregel/runner.py index 59ede35f5..d65cd7dd0 100644 --- a/libs/langgraph/langgraph/pregel/runner.py +++ b/libs/langgraph/langgraph/pregel/runner.py @@ -431,7 +431,7 @@ class PregelRunner: writes.extend(resumes) self.put_writes()(task.id, writes) # type: ignore[misc] elif isinstance(exception, GraphBubbleUp): - raise exception + pass else: # save error to checkpointer task.writes.append((ERROR, exception))