Skip to content

Commit 1dae75e

Browse files
committed
The exception string for submission upload read errors seems to have changed after we switched to wsgi, from "Client read error" to "request data read error". Now looking for just "read error".
- Legacy-Id: 6264
1 parent 0fcaefe commit 1dae75e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/submit/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def submit_index(request):
2626
submit = form.save()
2727
return HttpResponseRedirect(urlreverse(draft_status, None, kwargs={'submission_id': submit.submission_id, 'submission_hash': submit.get_hash()}))
2828
except IOError, e:
29-
if "Client read error" in str(e): # The server got an IOError when trying to read POST data
29+
if "read error" in str(e): # The server got an IOError when trying to read POST data
3030
form = UploadForm(request=request)
3131
form._errors = {}
3232
form._errors["__all__"] = form.error_class(["There was a failure receiving the complete form data -- please try again."])

0 commit comments

Comments
 (0)