mirror of https://github.com/zulip/zulip.git
BaseDocumentationSpider: Print correct link on error.
This commit is contained in:
parent
7a1132d605
commit
72b25553b2
|
@ -159,6 +159,6 @@ class BaseDocumentationSpider(scrapy.Spider):
|
|||
if response.status == 405 and response.request.method == 'HEAD':
|
||||
# Method 'HEAD' not allowed, repeat request with 'GET'
|
||||
return self.retry_request_with_get(response.request)
|
||||
self.logger.error("Please check link: %s", response)
|
||||
self.logger.error("Please check link: %s", response.request.url)
|
||||
|
||||
return failure
|
||||
|
|
Loading…
Reference in New Issue