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:
@@ -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.")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user