IOErrors from FILES are not wrapped with UnreadablePostError
|Reported by:||KyleMac||Owned by:||nobody|
|Cc:||andre.cruz@…, hirokiky@…||Triage Stage:||Accepted|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||yes||Patch needs improvement:||no|
Ticket #17277 wrapped IOErrors when reading the POST body with the custom exception UnreadablePostError in order to make them easily identifiable and thus easily ignored. However the same is not done when reading FILES fails and a raw IOError is still raised.
Outside of AJAX it's failed file uploads that raise the most IOErrors and so UnreadablePostError is not currently very useful.