Skip to content

Commit

Permalink
fix(connect): proceed with fw install even when language data fails t…
Browse files Browse the repository at this point in the history
…o download

(cherry picked from commit b40d1b7)
  • Loading branch information
mroz22 authored and MiroslavProchazka committed Jul 8, 2024
1 parent 2507a51 commit 6e1f665
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/connect/src/core/onCallFirmwareUpdate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 6e1f665

Please sign in to comment.