Skip to content

Commit

Permalink
fix: fix wrong call to logger.exception (#1441)
Browse files Browse the repository at this point in the history
fixes #1440
  • Loading branch information
raphael0202 authored Oct 25, 2024
1 parent e8eed45 commit 750eea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion robotoff/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def save_facet_metrics():
try:
count = get_product_count(server_type, country_tag)
except Exception:
logger.exception()
logger.exception("Error during product count retrieval for %s", country_tag)
count = None

for url_path in URL_PATHS:
Expand Down

0 comments on commit 750eea9

Please sign in to comment.