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

Function isBenignSocketError

scripts/proxy-utils.mjs:37–39  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

35}
36
37export function isBenignSocketError(err) {
38 return Boolean(err && BENIGN_SOCKET_ERRORS.has(err.code));
39}
40
41function parseBackendUrl(backendUrl) {
42 const url = new URL(backendUrl);

Callers 5

startIngressFunction · 0.90
proxyServerInfoRequestFunction · 0.85
createProxyHandlersFunction · 0.85
handleProxyErrorFunction · 0.85
proxyWebSocketFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected