Skip to content
This repository was archived by the owner on Mar 14, 2023. It is now read-only.

Commit 141e179

Browse files
committed
log the failed assignee before crashing
1 parent 8bf3054 commit 141e179

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

highfive/newpr.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ def set_assignee(self, assignee, owner, repo, issue, user, author, to_mention):
113113
if e.code == 201:
114114
pass
115115
else:
116+
print(f"failed to assign {assignee} to {owner}/{repo}#{issue}")
116117
raise e
117118

118119
self.run_commands(to_mention, owner, repo, issue, user)

0 commit comments

Comments
 (0)