Skip to content

Commit 7b01c85

Browse files
Your Namealphatownsman
Your Name
authored andcommitted
fix bgg parse error report
1 parent 53d63c3 commit 7b01c85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

catalog/sites/bgg.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def scrape(self):
3838
content = BasicDownloader(api_url).download().xml()
3939
items = list(content.xpath("/items/item")) # type: ignore
4040
if not len(items):
41-
raise ParseError("boardgame not found", field="id")
41+
raise ParseError(scraper=self, field="id")
4242
item = items[0]
4343
title = self.query_str(item, "name[@type='primary']/@value")
4444
other_title = self.query_list(item, "name[@type='alternate']/@value")

0 commit comments

Comments
 (0)