So the following background running code generated a System Error on a Fenix 6X Pro at the "else if (responseCode == 408)". What makes this line different than the others? Why not the 401 line just above it???
var suffix; if (responseCode == 200 && responseData != null) { : : reading responseData here, skipping it for the sake of simplicity here : suffix = ""; } else if (responseCode == 401) { suffix = Application.loadResource(Rez.Strings.label_launch_widget); } else if (responseCode == 408) { suffix = Application.loadResource(Rez.Strings.label_asleep); } else { suffix = Application.loadResource(Rez.Strings.label_error) + responseCode; }
All three string resources in the code above are defined with 'scope="background"' and the watch language was English. If I emulate this watch,it works flawlessly.
It's frustrating trying to make a program reliable when things like that happen :-<