1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-27 17:22:53 +03:00

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

add some info when there is an error.
This commit is contained in:
Sayak Paul
2024-06-27 09:49:15 +05:30
committed by GitHub
parent eda560d34c
commit e2a4a46e99

View File

@@ -73,6 +73,7 @@ def main():
if latest_version and release_info and latest_version == parsed_version:
notify_slack(SLACK_WEBHOOK_URL, LIBRARY_NAME, latest_version, release_info)
else:
print(f"{latest_version=}, {release_info=}, {parsed_version=}")
raise ValueError("There were some problems.")