]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix bug notifier for issues with no body text (#145603)
authorHugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Sat, 7 Mar 2026 14:53:13 +0000 (16:53 +0200)
committerGitHub <noreply@github.com>
Sat, 7 Mar 2026 14:53:13 +0000 (16:53 +0200)
.github/workflows/new-bugs-announce-notifier.yml

index b25750f0897de2af84f3aee89f800202473c701a..9ee38a4fd1cefcf34b13b73f964d6159b57bb816 100644 (file)
@@ -44,7 +44,7 @@ jobs:
                 // We need to truncate the body size, because the max size for
                 // the whole payload is 16kb. We want to be safe and assume that
                 // body can take up to ~8kb of space.
-                body   : issue.data.body.substring(0, 8000)
+                body   : (issue.data.body || "").substring(0, 8000)
               };
 
               const data = {