Kaynağa Gözat

core: silently ignore proxy command failures to prevent config initialization crashes

Dax Raad 1 ay önce
ebeveyn
işleme
7c748ef089
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      packages/opencode/src/config/config.ts

+ 1 - 1
packages/opencode/src/config/config.ts

@@ -274,7 +274,7 @@ export namespace Config {
         ...(proxied() ? ["--no-cache"] : []),
       ],
       { cwd: dir },
-    )
+    ).catch(() => {})
   }
 
   async function isWritable(dir: string) {