Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
fix(cli): log update check errors in debug mode (#1212)
Mish Ushakovdb000a20e8c3
diff --git a/packages/cli/src/index.ts b/packages/cli/src/index.tsindex fe2bde850..00ada9cc3 100644--- a/packages/cli/src/index.ts+++ b/packages/cli/src/index.ts@@ -11,8 +11,10 @@ export const pkg = packageJSONconst updateCheck = simpleUpdateNotifier({pkg,updateCheckInterval: 1000 * 60 * 60 * 8, // 8 hours-}).catch(() => {- // Silently ignore update check failures to avoid unhandled rejections+}).catch((e) => {+ if (process.env.DEBUG) {+ console.error('Update check failed:', e)+ }})const prog = program.version(