Sfoglia il codice sorgente

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

Dax Raad 7 mesi fa
parent
commit
7c748ef089
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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) {