here is the watch face https://apps.garmin.com/en-US/apps/239c24d8-d893-481f-9626-da6507e880f0
A error occured only on fenix 6 * with firmware 8.10 after changing settings . The ERA log shows that error occues here
var value=Toybox.SensorHistory.getTemperatureHistory().next().data; value+=Application.getApp().getProperty("offset") if(System.getDeviceSettings().temperatureUnits==System.UNIT_STATUTE) { value=value*1.8+32; // <--------Unhandled exception }
I have test this, but sill reported the same problem after changing settings .
var value=Toybox.SensorHistory.getTemperatureHistory().next().data; if(null == value) { return; } try { value = value * 1.0 + 0.0; // no error } catch(e) { return; } value+=Application.getApp().getProperty("offset") try { if(System.getDeviceSettings().temperatureUnits == System.UNIT_STATUTE) { value = value * 1.8 + 32; // <--------Unhandled exception , even in try , cause crash } } catch(e) { return; }
I don't know why , I doubt if it's a bug of the firmware 8.10