Skip to content

Commit

Permalink
fix: make log message less verbose in api.py (#1361)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael0202 authored Jul 8, 2024
1 parent 923324e commit 83e043b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions robotoff/app/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1315,11 +1315,10 @@ def on_post(self, req: falcon.Request, resp: falcon.Response):
diffs: dict = req.get_param_as_json("diffs", required=True)
check_server_domain(server_domain)
logger.info(
"New webhook event received for product %s (action: %s, domain: %s, diffs: %s)",
"New webhook event received for product %s (action: %s, domain: %s)",
barcode,
action,
server_domain,
diffs,
)
if action not in ("updated", "deleted"):
raise falcon.HTTPBadRequest(
Expand Down

0 comments on commit 83e043b

Please sign in to comment.