Call ErrorFunc on errors. Unexport DoRequestClient and DoRequestChrome
This commit is contained in:
1 parent
7d2fe57bab
commit
cfb16fe1ee
4 files changed
+16
-8
No files matched your search
@@ -44,7 +44,7 @@ func (m *RobotsTxt) ProcessRequest(r *client.Request) {
|
||||
}
|
||||
|
||||
m.metrics.RobotsTxtRequestCounter.Add(1)
|
||||
robotsResp, err := m.client.DoRequestClient(robotsReq)
|
||||
robotsResp, err := m.client.DoRequest(robotsReq)
|
||||
if err != nil {
|
||||
return // Don't Do anything
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user