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.
Change History (14)
comment:1 Changed 2 years ago by aaugustin
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted