MCPcopy Index your code
hub / github.com/codeaashu/claude-code / updateFailedStatus

Function updateFailedStatus

src/bridge/bridgeUI.ts:427–448  ·  view source on GitHub ↗
(error: string)

Source from the content-addressed store, hash-verified

425 },
426
427 updateFailedStatus(error: string): void {
428 stopConnecting()
429 clearStatusLines()
430 currentState = 'failed'
431
432 let suffix = ''
433 if (repoName) {
434 suffix += chalk.dim(' \u00b7 ') + chalk.dim(repoName)
435 }
436 if (branch) {
437 suffix += chalk.dim(' \u00b7 ') + chalk.dim(branch)
438 }
439
440 writeStatus(
441 `${chalk.red(BRIDGE_FAILED_INDICATOR)} ${chalk.red('Remote Control Failed')}${suffix}\n`,
442 )
443 writeStatus(`${chalk.dim(FAILED_FOOTER_TEXT)}\n`)
444
445 if (error) {
446 writeStatus(`${chalk.red(error)}\n`)
447 }
448 },
449
450 updateSessionStatus(
451 _sessionId: string,

Callers

nothing calls this directly

Calls 3

stopConnectingFunction · 0.85
clearStatusLinesFunction · 0.85
writeStatusFunction · 0.85

Tested by

no test coverage detected