Skip to content

Commit

Permalink
debugging posting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rvosa committed Aug 31, 2024
1 parent fa4abd5 commit 997486e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions barcode_validator/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def post_comment(self, pr_number, comment):
url = f"{self.base_url}/issues/{pr_number}/comments"
data = {"body": comment}
response = requests.post(url, headers=self.headers, json=data)
logging.info(response)
response.raise_for_status()
return response.json()

Expand Down

0 comments on commit 997486e

Please sign in to comment.