summaryrefslogtreecommitdiff
path: root/utils/checkstyle.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/checkstyle.py')
-rwxr-xr-xutils/checkstyle.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/checkstyle.py b/utils/checkstyle.py
index 3558740d..5a126806 100755
--- a/utils/checkstyle.py
+++ b/utils/checkstyle.py
@@ -479,7 +479,8 @@ class TrailersChecker(CommitChecker):
for trailer in commit.trailers:
match = TrailersChecker.trailer_regex.fullmatch(trailer)
if not match:
- raise RuntimeError(f"Malformed commit trailer '{trailer}'")
+ issues.append(CommitIssue(f"Malformed commit trailer '{trailer}'"))
+ continue
key, value = match.groups()