def on_tool_error()

in backend/langchainadapters.py [0:0]


    def on_tool_error(self, error: Exception, **kwargs: Any) -> None:
        self.html += f"<span style='color:red'>Tool error: {ch(error)}</span><br>"