diff --git a/.changeset/warm-schools-applaud.md b/.changeset/warm-schools-applaud.md new file mode 100644 index 0000000000..5875d09b4f --- /dev/null +++ b/.changeset/warm-schools-applaud.md @@ -0,0 +1,5 @@ +--- +"astro": patch +--- + +Prevents unhandledrejection error when checking for latest Astro version diff --git a/packages/astro/src/core/dev/dev.ts b/packages/astro/src/core/dev/dev.ts index e0a25d75b8..e27a1f10b1 100644 --- a/packages/astro/src/core/dev/dev.ts +++ b/packages/astro/src/core/dev/dev.ts @@ -73,7 +73,7 @@ export default async function dev(inlineConfig: AstroInlineConfig): Promise { }); } catch (e) { // Just ignore the error, we don't want to block the dev server from starting and this is just a nice-to-have feature }