diff --git a/packages/fresh/src/dev/builder.ts b/packages/fresh/src/dev/builder.ts index c78ec430fae..a9cdb9eb791 100644 --- a/packages/fresh/src/dev/builder.ts +++ b/packages/fresh/src/dev/builder.ts @@ -170,7 +170,9 @@ export class Builder { options: ListenOptions = {}, ): Promise { // Run update check in background - updateCheck(UPDATE_INTERVAL).catch(() => {}); + updateCheck(UPDATE_INTERVAL).catch((e) => + console.warn("Update check failed:", e), + ); this.config.mode = "development"; diff --git a/packages/plugin-vite/src/mod.ts b/packages/plugin-vite/src/mod.ts index c49c244526c..21a16f8a935 100644 --- a/packages/plugin-vite/src/mod.ts +++ b/packages/plugin-vite/src/mod.ts @@ -223,7 +223,9 @@ export function fresh(config?: FreshViteConfig): Plugin[] { }, async configResolved(vConfig) { // Run update check in background - updateCheck(UPDATE_INTERVAL).catch(() => {}); + updateCheck(UPDATE_INTERVAL).catch((e) => + console.warn("Update check failed:", e), + ); fConfig.islandsDir = pathWithRoot(fConfig.islandsDir, vConfig.root); fConfig.routeDir = pathWithRoot(fConfig.routeDir, vConfig.root);