Skip to content

Commit

Permalink
Debug log the serialization issues (#1495)
Browse files Browse the repository at this point in the history
  • Loading branch information
hinthornw authored Feb 9, 2025
1 parent f59acbb commit 8f682e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/langsmith/_internal/_serde.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def _serialize_json(obj: Any) -> Any:
return str(response)
return response
except Exception as e:
logger.error(
logger.debug(
f"Failed to use {attr} to serialize {type(obj)} to"
f" JSON: {repr(e)}"
)
Expand Down
2 changes: 1 addition & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "langsmith"
version = "0.3.7"
version = "0.3.8"
description = "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform."
authors = ["LangChain <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 8f682e1

Please sign in to comment.