log_error_once#

langchain_core.tracers.langchain.log_error_once(method: str, exception: Exception) None[source]#

Log an error once.

Parameters:
  • method (str) – The method that raised the exception.

  • exception (Exception) – The exception that was raised.

Return type:

None