Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/colbymchenry/codegraph
/ onError
Function
onError
src/mcp/proxy.ts:695–695 ·
view source on GitHub ↗
(err: Error)
Source
from the content-addressed store, hash-verified
693
}
694
};
695
const
onError = (err: Error) => { cleanup(); reject(err); };
696
const
onClose = () => { cleanup(); reject(
new
Error(
'daemon closed connection before hello'
)); };
697
const
timer = setTimeout(() => {
698
cleanup();
Callers
nothing calls this directly
Calls
1
cleanup
Function · 0.70
Tested by
no test coverage detected