Skip to content

Commit

Permalink
logging json_response, so we can see why command is failing
Browse files Browse the repository at this point in the history
  • Loading branch information
mtsadler-branch committed Aug 11, 2022
1 parent b7547dc commit 9cb7807
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions py-github-helper/utils/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ def get_files_changed_during_pr(
response = requests.get(curr_endpoint, headers=headers)
json_response = json.loads(response.text)
files = []
logging.error(json_response)
for file in json_response:
files.append(file['filename'])
logging.info(f"files: {files}")
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from pathlib import Path


VERSION = '0.1.11'
VERSION = '0.1.12'
DESCRIPTION = 'Python Script for interacting with Github API'
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
Expand Down

0 comments on commit 9cb7807

Please sign in to comment.