do not return with a nonzero exit status when no results found

also change loglevel from 'warning' to 'info'
(#1789)
This commit is contained in:
Mike Fährmann
2021-08-23 22:02:04 +02:00
parent 6b229ac829
commit 72c0cd30c7

View File

@@ -106,8 +106,7 @@ class Job():
raise
else:
if msg is None:
log.warning("No results for %s", extractor.url)
self.status |= 8
log.info("No results for %s", extractor.url)
finally:
self.handle_finalize()