From 09dfd347dd7c47b5d05a04c9b70291cc9d1971c5 Mon Sep 17 00:00:00 2001 From: Jeremy Hooke Date: Mon, 23 May 2022 13:38:42 +1000 Subject: [PATCH] Make log messages more pedantically true --- eodatasets3/prepare/sentinel_l1_prepare.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eodatasets3/prepare/sentinel_l1_prepare.py b/eodatasets3/prepare/sentinel_l1_prepare.py index 0e1f6cb2..e3fe1882 100644 --- a/eodatasets3/prepare/sentinel_l1_prepare.py +++ b/eodatasets3/prepare/sentinel_l1_prepare.py @@ -688,7 +688,7 @@ def find_jobs() -> Iterable[Job]: if output_yaml.exists(): if not overwrite_existing: - _LOG.debug("Output exists: not writing. %s", output_yaml) + _LOG.debug("Output exists: skipping. %s", output_yaml) continue _LOG.debug("Output exists: overwriting %s", output_yaml) @@ -727,7 +727,7 @@ def find_jobs() -> Iterable[Job]: on_success(dataset, path) successes += 1 except Exception: - _LOG.exception("Failed to write dataset: %s", job) + _LOG.exception("Failed to complete dataset: %s", job) errors += 1 else: with Pool(processes=workers) as pool: