[Core] Fix fstring in logger warning (#24043)

This commit is contained in:
William FH 2024-07-09 19:53:18 -07:00 committed by GitHub
parent 66265aaac4
commit 1e1fd30def
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2137,7 +2137,7 @@ def _configure(
logger.warning(
"Unable to load requested LangChainTracer."
" To disable this warning,"
" unset the LANGCHAIN_TRACING_V2 environment variables.",
" unset the LANGCHAIN_TRACING_V2 environment variables.\n"
f"{repr(e)}",
)
if run_tree is not None: