fix(cli): let managed config errors propagate

This commit is contained in:
Alex Alecu
2026-04-07 17:57:34 +03:00
parent 5accaead16
commit f0a30751b8
+1 -5
View File
@@ -363,11 +363,7 @@ export namespace Config {
// kilocode_change start
for (const file of ["kilo.jsonc", "kilo.json", "opencode.jsonc", "opencode.json"]) {
// kilocode_change end
try {
result = mergeConfigConcatArrays(result, await loadFile(path.join(managedDir, file)))
} catch (err) {
caught(err, path.join(managedDir, file))
}
result = mergeConfigConcatArrays(result, await loadFile(path.join(managedDir, file)))
}
}