diff --git a/src/udi/handlers/ttn/models/hottisThreeWayThermometer/hottisThreeWayThermometer.go b/src/udi/handlers/ttn/models/hottisThreeWayThermometer/hottisThreeWayThermometer.go index 602c1c3..3dca107 100644 --- a/src/udi/handlers/ttn/models/hottisThreeWayThermometer/hottisThreeWayThermometer.go +++ b/src/udi/handlers/ttn/models/hottisThreeWayThermometer/hottisThreeWayThermometer.go @@ -34,7 +34,7 @@ func Parse(fPort int, _ []byte, frmPayload string, variables *map[string]databas sensorsMap := make(map[string]string) sensorsJSON, ok := (*device).Attributes["Sensors"].(string) if !ok { - return fmt.Errorf("Unable to load sensor map from attributes") + return fmt.Errorf("Unable to load sensor map from attributes: %s", (*device).Attributes) } errJ := json.Unmarshal([]byte(sensorsJSON), &sensorsMap) if errJ != nil {