fix: UnboundLocalError in create-release.py (#13499)

This commit is contained in:
rodeka authored and GitHub committed 2025-09-22 14:18:54 -07:00
1 parent 7b17a7a7ab
commit f8c26f7c32
1 file changed
+1 -1
+1 -1
View File
@@ -56,7 +56,7 @@ def main(version: str, previous: str, max_message_lines: int, publish: bool, ass
issues = filter_github_issues(issues, github_token)
if len(issues) > 1:
print(f'WARNING: found more than 1 github issues in message: {message}. Issues: {issues}', file=sys.stderr)
print(f'WARNING: found more than 1 github issues in message: {e.message}. Issues: {issues}', file=sys.stderr)
message = e.message[:-1] if e.message.endswith('\n') else e.message