Skip to content

Commit

Permalink
fix(crunch): skip missing key in filter_property
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunato committed Jan 10, 2025
1 parent 938c23e commit 6643e6d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions eodag/plugins/crunch/filter_property.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,9 @@ def proceed(
for product in products:
if property_key not in product.properties.keys():
logger.warning(
"%s not found in product.properties, filtering disabled.",
property_key,
f"{property_key} not found in {product}.properties, product skipped",
)
return products
continue
if operator_method(product.properties[property_key], property_value):
add_to_filtered(product)

Expand Down

0 comments on commit 6643e6d

Please sign in to comment.