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

Method onChainError

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

Source from the content-addressed store, hash-verified

269 }
270
271 onChainError(run: Run) {
272 const crumbs = this.getBreadcrumbs(run)
273 this.logger.verbose(
274 `[${this.orgId}]: [chain/error] [${crumbs}] [${elapsed(run)}] Chain run errored with error: ${tryJsonStringify(
275 run.error,
276 '[error]'
277 )}`
278 )
279 }
280
281 onLLMStart(run: Run) {
282 const crumbs = this.getBreadcrumbs(run)

Callers

nothing calls this directly

Calls 3

getBreadcrumbsMethod · 0.95
tryJsonStringifyFunction · 0.85
elapsedFunction · 0.70

Tested by

no test coverage detected