diff --git a/hassio/src/dashboard/hassio-update.ts b/hassio/src/dashboard/hassio-update.ts index e4cd4dbb07..4af34bb58b 100644 --- a/hassio/src/dashboard/hassio-update.ts +++ b/hassio/src/dashboard/hassio-update.ts @@ -161,8 +161,8 @@ export class HassioUpdate extends LitElement { try { await this.hass.callApi>("POST", item.apiPath); } catch (err) { - // Only show an error if the status code was not 504 (timeout reported by proxies) - if (err.status_code !== 504) { + // Only show an error if the status code was not 504, or no status at all (connection terminated) + if (err.status_code && err.status_code !== 504) { showAlertDialog(this, { title: "Update failed", text: