MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / onToolError

Method onToolError

packages/components/src/handler.ts:319–327  ·  view source on GitHub ↗
(run: Run)

Source from the content-addressed store, hash-verified

317 }
318
319 onToolError(run: Run) {
320 const crumbs = this.getBreadcrumbs(run)
321 this.logger.verbose(
322 `[${this.orgId}]: [tool/error] [${crumbs}] [${elapsed(run)}] Tool run errored with error: ${tryJsonStringify(
323 run.error,
324 '[error]'
325 )}`
326 )
327 }
328
329 onAgentAction(run: Run) {
330 const agentRun = run as AgentRun

Callers

nothing calls this directly

Calls 3

getBreadcrumbsMethod · 0.95
tryJsonStringifyFunction · 0.85
elapsedFunction · 0.70

Tested by

no test coverage detected