IIRC that "bug" is NGINX related,
client_max_body_size 20M;
is the related ocnfig in nginx.conf, the value is too low for large attachments.. not sure if there's a chance to catch that bug error..
But I believe there's another bug: attachment's are uploaded twice,
First time is by using D&D, second one is after submitting the post. Noticed this on elkarte.net while testing the upload of large files (3-4MB)