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

Function handleStderrError

src/server/mcp-lifecycle.ts:352–358  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

350 void coordinator.shutdown('stdout-error', error);
351 };
352 const handleStderrError = (error: unknown): void => {
353 if (!isBrokenPipeLikeError(error)) {
354 return;
355 }
356 suppressProcessStdioWrites();
357 void coordinator.shutdown('stderr-error', error);
358 };
359 const handleUncaughtException = (error: unknown): void => {
360 void coordinator.shutdown('uncaught-exception', error);
361 };

Callers

nothing calls this directly

Calls 3

isBrokenPipeLikeErrorFunction · 0.85
shutdownMethod · 0.65

Tested by

no test coverage detected