MCPcopy Index your code
hub / github.com/callstack/agent-device / trimHttpErrorOutput

Function trimHttpErrorOutput

src/compat/maestro/run-script.ts:226–229  ·  view source on GitHub ↗
(stderr: string)

Source from the content-addressed store, hash-verified

224}
225
226function trimHttpErrorOutput(stderr: string): string {
227 const trimmed = stderr.trim();
228 return trimmed.length > 0 ? trimmed.slice(0, 1000) : 'request process exited without stderr';
229}

Callers 1

runHttpRequestSyncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected