MCPcopy
hub / github.com/OpenBMB/ChatDev / error

Method error

utils/logger.py:150–152  ·  view source on GitHub ↗
(self, message: str, node_id: str = None, event_type: EventType = None,
              details: Dict[str, Any] = None, duration: float | None = None)

Source from the content-addressed store, hash-verified

148 self.add_log(LogLevel.WARNING, message, node_id, event_type, details, duration)
149
150 def error(self, message: str, node_id: str = None, event_type: EventType = None,
151 details: Dict[str, Any] = None, duration: float | None = None) -> None:
152 self.add_log(LogLevel.ERROR, message, node_id, event_type, details, duration)
153
154 def critical(self, message: str, node_id: str = None, event_type: EventType = None,
155 details: Dict[str, Any] = None) -> None:

Callers 15

add_logMethod · 0.45
postYamlFunction · 0.45
updateYamlFunction · 0.45
postYamlNameChangeFunction · 0.45
postYamlCopyFunction · 0.45
fetchWorkflowsWithDescFunction · 0.45
fetchWorkflowYAMLFunction · 0.45
fetchYamlFunction · 0.45
fetchVueGraphFunction · 0.45
postVuegraphsFunction · 0.45
fetchConfigSchemaFunction · 0.45
fetchLogsZipFunction · 0.45

Calls 1

add_logMethod · 0.95

Tested by

no test coverage detected