(new): expand runtime APIs
(fix): harden concurrent lifecycle (tests): add regression coverage (doc): update v1.2 guidance
This commit is contained in:
+1
-1
@@ -272,7 +272,7 @@ func (r TelegramRequest[R, P]) doRequest(ctx context.Context, api *API) (R, erro
|
||||
api.logger.Debugln("REQ", url, redactRequestLog(reqData))
|
||||
resp, err := api.client.Do(req)
|
||||
if err != nil {
|
||||
return zero, fmt.Errorf("HTTP request failed: %w", err)
|
||||
return zero, fmt.Errorf("HTTP request failed: %w", redactHTTPError(err, api.token))
|
||||
}
|
||||
|
||||
respData, err := readBody(resp.Body)
|
||||
|
||||
Reference in New Issue
Block a user