Commit 27710b43 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

Catch getSubsystemStatus failing on initial load

Silences an error when host is not connected on e.g. unsupported OS.
We could perhaps also check if the OS is supported but needs further testing since
getPlatformInfo is asynchronous and we want those feature to be available as early
in the website DOM/API as possible.

BUG: 418487
parent 51de3d7c
......@@ -90,6 +90,9 @@ SettingsUtils.get().then((items) => {
if (status && status.purpose) {
}, (err) => {
// No warning, can also happen when port isn't connected for unsupported OS
console.log("Failed to get subsystem status for purpose", err);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment