mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-21 05:52:35 +08:00
fix(cli): log error in catch block
This commit is contained in:
@@ -17,9 +17,9 @@ export function resetTerminalState() {
|
||||
]
|
||||
try {
|
||||
process.stdout.write(sequences.join(""))
|
||||
} catch {
|
||||
// kilocode_change - stdout may already be closed during exit, ignore
|
||||
// Silent fail is intentional here — process is exiting anyway
|
||||
} catch (err) {
|
||||
// kilocode_change - stdout may already be closed during exit
|
||||
console.error("resetTerminalState failed", err)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user