mirror of
https://github.com/safing/portmaster
synced 2025-09-01 18:19:12 +00:00
Better wording for failed DoH request.
Co-authored-by: Daniel Hovie <dhaavi@users.noreply.github.com>
This commit is contained in:
parent
ecbe3fce91
commit
3bf791f317
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ func (hr *HTTPSResolver) Query(ctx context.Context, q *Query) (*RRCache, error)
|
|||
}()
|
||||
|
||||
if resp.StatusCode != http.StatusOK {
|
||||
return nil, fmt.Errorf("http response code %s", resp.Status)
|
||||
return nil, fmt.Errorf("http request failed with %s", resp.Status)
|
||||
}
|
||||
|
||||
// Try to read the result
|
||||
|
|
Loading…
Add table
Reference in a new issue