From a1ed97db18b57339e66efc8c6f0a2dc78cc672bc Mon Sep 17 00:00:00 2001 From: Bryan Kendall Date: Thu, 26 Feb 2026 08:24:18 -0800 Subject: [PATCH] catch errors during App Hosting deploys --- CHANGELOG.md | 1 + src/deploy/apphosting/release.ts | 10 +++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e69de29bb2d..ac7cf55e0e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -0,0 +1 @@ +- Detects when App Hosting fails to deploy, returning an error. (#8866) diff --git a/src/deploy/apphosting/release.ts b/src/deploy/apphosting/release.ts index d4927603e5d..33056fd06f5 100644 --- a/src/deploy/apphosting/release.ts +++ b/src/deploy/apphosting/release.ts @@ -11,6 +11,7 @@ import { logLabeledWarning, } from "../../utils"; import { Context } from "./args"; +import { FirebaseError } from "../../error"; /** * Orchestrates rollouts for the backends targeted for deployment. @@ -70,6 +71,7 @@ export default async function (context: Context, options: Options): Promise