Hide POIs, show overlay state, remove zoom button, rotate vpn
This commit is contained in:
parent
35276d34fa
commit
bce34b73de
32 changed files with 1137 additions and 186 deletions
|
|
@ -218,6 +218,13 @@ def main() -> int:
|
|||
return 130 # 128 + SIGINT, the conventional Ctrl+C exit code.
|
||||
log.info("Scrape finished in %.1fs", elapsed)
|
||||
log.info("Result: %s", result)
|
||||
if result.get("failures"):
|
||||
# Nothing was written, so the previous parquet is still the good one.
|
||||
# Exiting non-zero keeps the caller (scripts/scrape-loop.sh) from
|
||||
# enriching and publishing on top of a rejected run.
|
||||
for failure in result["failures"]:
|
||||
log.error("Scrape rejected: %s", failure)
|
||||
return 1
|
||||
if args.test and result.get("errors"):
|
||||
raise SystemExit("Test scrape failed; see errors in the result above.")
|
||||
return 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue