mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +00:00
parent
b980b5530d
commit
1ae8624e05
10 changed files with 15 additions and 24 deletions
|
@ -141,7 +141,7 @@ func (s *service) Test(ctx context.Context, proxy *domain.Proxy) error {
|
|||
}
|
||||
|
||||
if resp.StatusCode != http.StatusOK {
|
||||
return errors.New(resp.Status)
|
||||
return errors.New("got unexpected status code: %d", resp.StatusCode)
|
||||
}
|
||||
|
||||
s.log.Debug().Msgf("proxy %s test OK!", proxy.Addr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue