From e91f72dd486897552425060e1f7decf6671d105b Mon Sep 17 00:00:00 2001 From: Michael Li Date: Tue, 15 Jul 2025 05:16:10 +1000 Subject: [PATCH] fix(checkpoint): correct logging call to use logger (#5458) fix[checkpoint]: correct logging call to use logger --- libs/checkpoint/langgraph/checkpoint/memory/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/checkpoint/langgraph/checkpoint/memory/__init__.py b/libs/checkpoint/langgraph/checkpoint/memory/__init__.py index 14f2a9547..cb26a8668 100644 --- a/libs/checkpoint/langgraph/checkpoint/memory/__init__.py +++ b/libs/checkpoint/langgraph/checkpoint/memory/__init__.py @@ -595,6 +595,6 @@ class PersistentDict(defaultdict): except EOFError: return except Exception: - logging.error(f"Failed to load file: {fileobj.name}") + logger.error(f"Failed to load file: {fileobj.name}") raise raise ValueError("File not in a supported format")