35d51435f4
Truncate messages longer than 4096 characters
(cherry picked from commit b593d371ef)
Co-authored-by: Ilya Galimyanov <ilyaxa1@gmail.com>