Skip to content

Commit

Permalink
Make log messages more pedantically true
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyh committed May 23, 2022
1 parent e0e6791 commit 09dfd34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eodatasets3/prepare/sentinel_l1_prepare.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 09dfd34

Please sign in to comment.