Skip to content

Commit c1b64d8

Browse files
committed
CR fixes
1 parent 02ea9f8 commit c1b64d8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/subscraping/sources/domainsproject/domainsproject.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ func (s *Source) Run(ctx context.Context, domain string, session *subscraping.Se
6060
subscraping.BasicAuth{Username: randomApiKey.username, Password: randomApiKey.password},
6161
)
6262
if err != nil {
63+
results <- subscraping.Result{Source: s.Name(), Type: subscraping.Error, Error: err}
64+
s.errors++
6365
session.DiscardHTTPResponse(resp)
6466
return
6567
}

0 commit comments

Comments
 (0)