DOn't crash on very long annotations
authorMagnus Hagander <magnus@hagander.net>
Tue, 10 Dec 2024 12:09:10 +0000 (13:09 +0100)
committerMagnus Hagander <magnus@hagander.net>
Tue, 10 Dec 2024 12:09:10 +0000 (13:09 +0100)
commit63faa7d73c53629aa6ae9cf3d497f37cec50cd9e
tree63b7d206fbcd7576ca08a200b9ebb2e37914227d
parent845dc635f2e01da4a8c042094c9c5208aa6c8f04
DOn't crash on very long annotations

When a very long annotation is posted, we would crash if it's shorter
than 500 characters, but the length of the *log* message became longer
than 500. To handle this, shorten the text in the log message if it's
too long.
pgcommitfest/commitfest/ajax.py