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

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

View File

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