Rt being silent about not saving attachments in case of sql query failure

Hello.

I’m using rt 4.2.7 and sending mails with attachments to it. Unfortunately due
to mysql db problems only core mail message is being saved without any
attachments:

[9761] [Mon Sep 29 11:19:03 2014] [critical]: Attachment insert failed: Row
size too large (> 8126). Changing some columns to TEXT or BLOB or using
ROW_FORMAT=DYNAMIC or ROW_FORMAT=COMPRESSED may help. In
current row format, BLOB prefix of 768 bytes is stored inline.
(/usr/share/perl5/vendor_perl/RT/Attachment.pm:219)

It would make sense to store any information about this failure inside of rt
ticket (something like “failed to save attachments”) instead of silently
(well, there is this log) dropping it.

Thanks,
Arkadiusz Miśkiewicz, arekm / maven.pl