Add notification when release creation fails

This commit is contained in:
rubenwardy
2021-07-19 23:49:29 +01:00
parent f83605c35f
commit 2f77a84ec5
3 changed files with 9 additions and 2 deletions

View File

@@ -110,7 +110,7 @@ def post_bot_message(package: Package, title: str, message: str):
thread.title = "Bot messages for {}".format(package.title)
thread.author = system_user
thread.private = True
thread.watchers.append(package.author)
thread.watchers.extend(package.maintainers)
db.session.add(thread)
db.session.flush()