MCPcopy
hub / github.com/docker/docker-agent / RecordError

Method RecordError

pkg/runtime/telemetry.go:47–49  ·  view source on GitHub ↗
(ctx context.Context, message string)

Source from the content-addressed store, hash-verified

45}
46
47func (defaultTelemetry) RecordError(ctx context.Context, message string) {
48 telemetry.RecordError(ctx, message)
49}
50
51func (defaultTelemetry) RecordToolCall(ctx context.Context, toolName, sessionID, agentName string, duration time.Duration, err error) {
52 telemetry.RecordToolCall(ctx, toolName, sessionID, agentName, duration, err)

Callers

nothing calls this directly

Calls 1

RecordErrorFunction · 0.92

Tested by

no test coverage detected