MCPcopy Create free account
hub / github.com/anomalyco/opencode / handleError

Function handleError

packages/app/src/components/terminal.tsx:584–587  ·  view source on GitHub ↗
(error: Event)

Source from the content-addressed store, hash-verified

582 }
583
584 const handleError = (error: Event) => {
585 if (disposed) return
586 debugTerminal("websocket error", error)
587 }
588
589 const stop = () => {
590 socket.removeEventListener("open", handleOpen)

Callers

nothing calls this directly

Calls 1

debugTerminalFunction · 0.85

Tested by

no test coverage detected