From 6e1f665d360fbeba4f5b2f9a483ddf15fbed5061 Mon Sep 17 00:00:00 2001 From: Martin Varmuza Date: Tue, 2 Jul 2024 18:49:54 +0200 Subject: [PATCH] fix(connect): proceed with fw install even when language data fails to download (cherry picked from commit b40d1b744e0433af16435ff1952d01816bef7f1c) --- packages/connect/src/core/onCallFirmwareUpdate.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/connect/src/core/onCallFirmwareUpdate.ts b/packages/connect/src/core/onCallFirmwareUpdate.ts index a1b94ebcec3..823610285b1 100644 --- a/packages/connect/src/core/onCallFirmwareUpdate.ts +++ b/packages/connect/src/core/onCallFirmwareUpdate.ts @@ -358,6 +358,8 @@ export const onCallFirmwareUpdate = async ({ language: targetLanguage, version: device.firmwareRelease.release.version, internal_model: device.features.internal_model, + }).catch(() => { + // silent, language data is not critical, it can be updated any time later and it indeed happens inside device.updateFeatures }) : null;