mirror of https://github.com/scrapy/scrapy.git
More data in log message
--HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%4058
This commit is contained in:
parent
a4cfea54e8
commit
377e17b7db
|
|
@ -28,7 +28,7 @@ class SpiderStats(object):
|
|||
|
||||
def __init__(self):
|
||||
if not settings['SCRAPING_DB']:
|
||||
raise NotConfigured("Requires SCRAPING_DB setting")
|
||||
raise NotConfigured("SpiderStats: Requires SCRAPING_DB setting")
|
||||
|
||||
from scrapy.store.db import DomainDataHistory
|
||||
self.ddh = DomainDataHistory(settings['SCRAPING_DB'], 'domain_data_history')
|
||||
|
|
|
|||
Loading…
Reference in New Issue