Skip to content

Commit

Permalink
Log lamadava response body
Browse files Browse the repository at this point in the history
  • Loading branch information
mariocj89 authored Feb 21, 2024
1 parent 5fc48aa commit e4f7f2c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions eas/api/instagram/lamadava.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ def fetch_comments(media_pk): # pragma: no cover
},
timeout=ONE_MINUTE * 2,
)
if not response.ok:
if response.ok:
LOG.info("Lamadava response: %s", response.text)
else:
LOG.error("Failed lamadava request! %s", response.text)
LOG.info("Lamadava response: %s", response)
response.raise_for_status()
return response.json()

0 comments on commit e4f7f2c

Please sign in to comment.