MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / onRejection

Function onRejection

graph-ui/src/app/ui-log-install.ts:189–196  ·  view source on GitHub ↗
(event: PromiseRejectionEvent)

Source from the content-addressed store, hash-verified

187 });
188 };
189 const onRejection = (event: PromiseRejectionEvent): void => {
190 guarded(() => {
191 const described = describeReason(event.reason);
192 buffer.record('error', 'promise', described.message, {
193 project: getProject(), stack: described.stack,
194 });
195 });
196 };
197 const onHide = (): void => {
198 void buffer.flush(true);
199 };

Callers

nothing calls this directly

Calls 3

guardedFunction · 0.85
describeReasonFunction · 0.85
recordMethod · 0.45

Tested by

no test coverage detected