MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / logAndRecordError

Method logAndRecordError

transaction.go:1664–1668  ·  view source on GitHub ↗

logAndRecordError logs an error message and records the error in the tracing span. It returns a formatted error message combining the provided message and the original error. Parameters: - span trace.Span: The tracing span to record the error. - msg string: The error message to log and include in t

(span trace.Span, msg string, err error)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected