Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ captureThrown
Function
captureThrown
packages/server/test/services.test.ts:99–106 ·
view source on GitHub ↗
(fn: () => void)
Source
from the content-addressed store, hash-verified
97
}
98
99
function
captureThrown(fn: () => void): unknown {
100
try {
101
fn();
102
return
undefined;
103
} catch (error) {
104
return
error;
105
}
106
}
107
108
class
FakeWatcher {
109
readonly added: string[][] = [];
Callers
1
services.test.ts
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected