MCPcopy Index your code
hub / github.com/continuedev/continue / safeStderr

Function safeStderr

extensions/cli/src/init.ts:111–119  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

109 * Use this for error messages that should always be visible
110 */
111export function safeStderr(message: string): void {
112 if (isHeadlessMode || isHeadlessModeConfigured) {
113 // Use the original stderr that was saved before any overrides
114 originalStderrWrite(message);
115 } else {
116 // In non-headless mode, just use normal stderr
117 process.stderr.write(message);
118 }
119}
120
121/**
122 * Reset console overrides to original state

Callers 3

index.tsFile · 0.85
chatFunction · 0.85
handleValidationErrorsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected