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

Method onChainError

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

Source from the content-addressed store, hash-verified

65 }
66
67 onChainError(run: Run) {
68 const crumbs = this.getBreadcrumbs(run)
69 this.logger.verbose(
70 `[${this.orgId}]: [chain/error] [${crumbs}] [${elapsed(run)}] Chain run errored with error: ${tryJsonStringify(
71 run.error,
72 '[error]'
73 )}`
74 )
75 }
76
77 onLLMStart(run: Run) {
78 const crumbs = this.getBreadcrumbs(run)

Callers

nothing calls this directly

Calls 3

getBreadcrumbsMethod · 0.95
elapsedFunction · 0.90
tryJsonStringifyFunction · 0.90

Tested by

no test coverage detected