added another way pr can be invalid, if they have

no lines for their comment (github api be wierd)
This commit is contained in:
Karma Riuk
2025-05-20 16:40:50 +02:00
parent 09ee7995ff
commit ea7b510926
2 changed files with 28 additions and 5 deletions

View File

@ -13,6 +13,10 @@ class NoDiffsAfterError(SetupException):
reason_for_failure = "Couldn't get the diffs after the last comment"
class NoLinesForCommentError(SetupException):
reason_for_failure = "There are no line reference for the comment"
class CantCloneRepoError(SetupException):
reason_for_failure = "Couldn't clone the repository"