More debug
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 26s

This commit is contained in:
2025-07-02 16:16:12 +03:00
parent 3afa650200
commit 16af99d38e

View File

@ -270,8 +270,8 @@ func (c *Client) auth() *Response {
"selectedVin": "", "selectedVin": "",
"pushToken": ""} "pushToken": ""}
reqURL := MOBILE_API_VERSION + apiURLs["API_LOGIN"] reqURL := MOBILE_API_VERSION + apiURLs["API_LOGIN"]
// TODO: Add error handling
resp, err := c.execute(POST, reqURL, params, false) resp, err := c.execute(POST, reqURL, params, false)
c.logger.Debug("AUTH HTTP OUTPUT", "body", resp)
if err != nil { if err != nil {
c.logger.Error("error while executing auth request", "request", "auth", "error", err.Error()) c.logger.Error("error while executing auth request", "request", "auth", "error", err.Error())
return nil return nil