Skip to content

Commit

Permalink
improve log
Browse files Browse the repository at this point in the history
  • Loading branch information
garciampred committed Dec 17, 2024
1 parent 3d552cb commit 2453ced
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cdsobs/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,9 @@ def _run_ingestion_pipeline_for_batch(
By default, these time intervals will be skipped.
"""
if not update and _entry_exists(dataset_name, session, source, time_space_batch):
logger.warning("A partition with the chosen parameters already exists")
logger.warning(
"A partition with the chosen parameters already exists and update is set to False."
)
else:
sorted_partitions = _read_homogenise_and_partition(
config, dataset_name, service_definition, source, time_space_batch
Expand Down

0 comments on commit 2453ced

Please sign in to comment.