There was an error while loading. Please reload this page.
1 parent 06c49d1 commit fb4f6d0Copy full SHA for fb4f6d0
1 file changed
src/apify/scrapy/scheduler.py
@@ -170,9 +170,8 @@ def next_request(self) -> Request | None:
170
traceback.print_exc()
171
raise
172
173
- # Reconstruct the Scrapy request. A malformed queue entry (e.g. an unknown `_class` or a
174
- # payload that no longer parses) must not crash the whole run: it has already been marked
175
- # handled above, so log it and skip it by returning None instead of propagating.
+ # Reconstruct the Scrapy request. A malformed queue entry must not crash the whole run: it
+ # has already been marked handled above, so log it and skip it instead of propagating.
176
try:
177
scrapy_request = to_scrapy_request(apify_request, spider=self.spider)
178
except Exception:
0 commit comments