MCPcopy Create free account
hub / github.com/anus-dev/ANUS / logErrorHandler

Function logErrorHandler

packages/cli/src/ui/App.tsx:225–231  ·  view source on GitHub ↗
(errorMessage: unknown)

Source from the content-addressed store, hash-verified

223 appEvents.on(AppEvent.OpenDebugConsole, openDebugConsole);
224
225 const logErrorHandler = (errorMessage: unknown) => {
226 handleNewMessage({
227 type: 'error',
228 content: String(errorMessage),
229 count: 1,
230 });
231 };
232 appEvents.on(AppEvent.LogError, logErrorHandler);
233
234 return () => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected