fix: replace bare raise with return False in _restore_from_checkpoint (#196)
This commit is contained in:
@@ -205,7 +205,7 @@ class CrawlerEngine:
|
|||||||
Returns True if successfully restored, False otherwise.
|
Returns True if successfully restored, False otherwise.
|
||||||
"""
|
"""
|
||||||
if not self._checkpoint_system_enabled:
|
if not self._checkpoint_system_enabled:
|
||||||
raise
|
return False
|
||||||
|
|
||||||
data = await self._checkpoint_manager.load()
|
data = await self._checkpoint_manager.load()
|
||||||
if data is None:
|
if data is None:
|
||||||
|
|||||||
Reference in New Issue
Block a user