Fixed some slog error output
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 25s
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 25s
This commit is contained in:
@ -903,7 +903,7 @@ func (v *Vehicle) GetVehicleStatus() {
|
||||
if v.client.isResponseSuccessfull(resp) {
|
||||
respParsed, err := gabs.ParseJSON(resp)
|
||||
if err != nil {
|
||||
v.client.log.Error("error", err)
|
||||
v.client.log.Error("error which parsing json", "error", err.Error())
|
||||
}
|
||||
|
||||
vSta := VehicleStatus{}
|
||||
@ -1046,7 +1046,7 @@ func (v *Vehicle) GetVehicleCondition() {
|
||||
if v.client.isResponseSuccessfull(resp) {
|
||||
respParsed, err := gabs.ParseJSON(resp)
|
||||
if err != nil {
|
||||
v.client.log.Error("error", err)
|
||||
v.client.log.Error("error which parsing json", "error", err.Error())
|
||||
}
|
||||
|
||||
re := regexp.MustCompile(`[A-Z][^A-Z]*`)
|
||||
@ -1156,7 +1156,7 @@ func (v *Vehicle) GetVehicleHealth() {
|
||||
if v.client.isResponseSuccessfull(resp) {
|
||||
_, err := gabs.ParseJSON(resp)
|
||||
if err != nil {
|
||||
v.client.log.Error("error", err)
|
||||
v.client.log.Error("error which parsing json", "error", err.Error())
|
||||
}
|
||||
// TODO:
|
||||
}
|
||||
|
Reference in New Issue
Block a user