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

Method onToolError

packages/components/src/MetricsLogger.ts:115–123  ·  view source on GitHub ↗
(run: Run)

Source from the content-addressed store, hash-verified

113 }
114
115 onToolError(run: Run) {
116 const crumbs = this.getBreadcrumbs(run)
117 this.logger.verbose(
118 `[${this.orgId}]: [tool/error] [${crumbs}] [${elapsed(run)}] Tool run errored with error: ${tryJsonStringify(
119 run.error,
120 '[error]'
121 )}`
122 )
123 }
124
125 onAgentAction(run: Run) {
126 const agentRun = run as AgentRun

Callers

nothing calls this directly

Calls 3

getBreadcrumbsMethod · 0.95
elapsedFunction · 0.90
tryJsonStringifyFunction · 0.90

Tested by

no test coverage detected