MCPcopy Create free account
hub / github.com/OpenHands/OpenHands / trackError

Function trackError

src/utils/error-handler.ts:9–15  ·  view source on GitHub ↗
({ message, source, metadata = {} }: ErrorDetails)

Source from the content-addressed store, hash-verified

7}
8
9export function trackError({ message, source, metadata = {} }: ErrorDetails) {
10 const error = new Error(message);
11 void trackException(error, {
12 error_source: source || "unknown",
13 ...metadata,
14 });
15}

Callers 3

handleStatusMessageFunction · 0.90

Calls 1

trackExceptionFunction · 0.90

Tested by

no test coverage detected