From 5b0c52c34dc51a7d404c0fe8bbc2f30a499c6415 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Bournhonesque?= Date: Fri, 25 Oct 2024 16:30:20 +0200 Subject: [PATCH] fix: fix wrong call to logger.exception fixes #1440 --- robotoff/metrics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/robotoff/metrics.py b/robotoff/metrics.py index e7d4615e17..a055da1ce7 100644 --- a/robotoff/metrics.py +++ b/robotoff/metrics.py @@ -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: