Unverified Commit e2a4a46e authored by Sayak Paul's avatar Sayak Paul Committed by GitHub
Browse files

[Release notification] add some info when there is an error. (#8718)

add some info when there is an error.
parent eda560d3
...@@ -73,6 +73,7 @@ def main(): ...@@ -73,6 +73,7 @@ def main():
if latest_version and release_info and latest_version == parsed_version: if latest_version and release_info and latest_version == parsed_version:
notify_slack(SLACK_WEBHOOK_URL, LIBRARY_NAME, latest_version, release_info) notify_slack(SLACK_WEBHOOK_URL, LIBRARY_NAME, latest_version, release_info)
else: else:
print(f"{latest_version=}, {release_info=}, {parsed_version=}")
raise ValueError("There were some problems.") raise ValueError("There were some problems.")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment