Skip to content

Commit

Permalink
chore: fix linter (#16026)
Browse files Browse the repository at this point in the history
  • Loading branch information
GrimmiMeloni authored Sep 11, 2024
1 parent 89fb334 commit dbfce59
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions vehicle/saic/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,12 @@ func (v *API) DoRequest(req *http.Request, result *requests.Answer) (string, err
if result.Code == 4 {
err = api.ErrMustRetry
} else {
err = fmt.Errorf("%d: %s\n", result.Code, result.Message)
err = fmt.Errorf("%d: %s", result.Code, result.Message)
}
v.Logger.DEBUG.Printf("%d: %s\n", result.Code, result.Message)
v.Logger.DEBUG.Printf("%d: %s", result.Code, result.Message)
}
} else {
if err != nil {
v.Logger.DEBUG.Printf("Decrypt: %s", err.Error())
}
v.Logger.DEBUG.Printf("decrypt: %s", err.Error())
}
}

Expand Down

0 comments on commit dbfce59

Please sign in to comment.