MCPcopy Create free account
hub / github.com/Noumena-Network/code / updateFailedStatus

Function updateFailedStatus

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

stopConnectingFunction · 0.85
clearStatusLinesFunction · 0.85
writeStatusFunction · 0.85

Tested by

no test coverage detected