MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / handleError

Function handleError

src/utils/command.ts:97–106  ·  view source on GitHub ↗
(err: Error)

Source from the content-addressed store, hash-verified

95 };
96
97 const handleError = (err: Error): void => {
98 if (settled) {
99 return;
100 }
101 settled = true;
102 clearExitSettleTimer();
103 detachStreamListeners();
104 logSpawnError(err);
105 reject(err);
106 };
107
108 const settle = (code: number | null): void => {
109 if (settled) {

Callers

nothing calls this directly

Calls 3

clearExitSettleTimerFunction · 0.85
detachStreamListenersFunction · 0.85
logSpawnErrorFunction · 0.85

Tested by

no test coverage detected