mirror of
https://github.com/hwchase17/langchain
synced 2024-11-08 07:10:35 +00:00
Different error strings (#8010)
This commit is contained in:
parent
ec4f93b629
commit
e2a99bd169
@ -310,7 +310,8 @@ def _handle_event(
|
||||
)
|
||||
else:
|
||||
logger.warning(
|
||||
f"Error in {handler.__class__.__name__}.{event_name} callback: {e}"
|
||||
f"NotImplementedError in {handler.__class__.__name__}.{event_name}"
|
||||
f" callback: {e}"
|
||||
)
|
||||
except Exception as e:
|
||||
logger.warning(
|
||||
@ -353,7 +354,8 @@ async def _ahandle_event_for_handler(
|
||||
)
|
||||
else:
|
||||
logger.warning(
|
||||
f"Error in {handler.__class__.__name__}.{event_name} callback: {e}"
|
||||
f"NotImplementedError in {handler.__class__.__name__}.{event_name}"
|
||||
f" callback: {e}"
|
||||
)
|
||||
except Exception as e:
|
||||
logger.warning(
|
||||
|
Loading…
Reference in New Issue
Block a user