MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / pluginStorageFailure

Function pluginStorageFailure

packages/core/sdk/src/executor.ts:848–849  ·  view source on GitHub ↗
(pluginId: string, hook: string, cause: unknown)

Source from the content-addressed store, hash-verified

846 isStorageFailure(cause) ? cause : new StorageError({ message, cause });
847
848const pluginStorageFailure = (pluginId: string, hook: string, cause: unknown): StorageFailure =>
849 storageFailureFromUnknown(`${hook} failed for plugin ${pluginId}`, cause);
850
851// oxlint-disable executor/no-instanceof-error, executor/no-unknown-error-message -- boundary: render an arbitrary failure into one readable log field
852/** One-line rendering of a failed rebuild, for the operator-facing warning.

Callers 7

integrationsRemoveFunction · 0.85
integrationsDetectFunction · 0.85
connectionsRemoveFunction · 0.85
toolSchemaFunction · 0.85
createExecutorFunction · 0.85
closeFunction · 0.85

Calls 1

Tested by

no test coverage detected