Merge pull request #33148 from ClickHouse/add_pretty_print

Add pretty print unknow event
This commit is contained in:
alesapin 2021-12-24 20:58:23 +03:00 committed by GitHub
commit b10114a034
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,6 +111,7 @@ class PRInfo:
else:
self.diff_url = pull_request['diff_url']
else:
print(json.dumps(github_event, sort_keys=True, indent=4))
raise Exception("Cannot detect type of event")
if need_changed_files:
self.fetch_changed_files()