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

Function handleStartupServerError

src/daemon.ts:444–452  ·  view source on GitHub ↗
(error: Error)

Source from the content-addressed store, hash-verified

442 }
443
444 const handleStartupServerError = (error: Error): void => {
445 releaseStartupRegistryLock();
446 const message = error.message;
447 log('error', `[Daemon] Server startup error: ${message}`, { sentry: true });
448 console.error('Daemon error:', message);
449 void flushAndCloseSentry(2000).finally(() => {
450 process.exit(1);
451 });
452 };
453 server.once('error', handleStartupServerError);
454
455 server.listen(socketPath, () => {

Callers

nothing calls this directly

Calls 3

logFunction · 0.90
flushAndCloseSentryFunction · 0.90

Tested by

no test coverage detected