More debugging
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 23s
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 23s
This commit is contained in:
@ -488,6 +488,8 @@ func (v *Vehicle) GetClimatePresets() {
|
||||
tmp = strings.Replace(tmp, ` }\"]`, `}]`, -1)
|
||||
tmp = strings.Replace(tmp, `\"`, `"`, -1)
|
||||
|
||||
v.client.logger.Debug("subaru climate presets after trimming", "body", tmp)
|
||||
|
||||
respParsed, err := gabs.ParseJSON([]byte(tmp))
|
||||
if err != nil {
|
||||
v.client.logger.Error("error while parsing json", "request", "GetClimatePresets", "error", err.Error())
|
||||
|
Reference in New Issue
Block a user