Mercurial > p > roundup > code
comparison roundup/cgi/accept_language.py @ 3896:fca0365521fc
ignore client shutdown exceptions when sending responses
patch from Ulrik Miaelsson
If the user clicks the stop button, or click another link before
the previous has finished loading, or something similar an IOError
exception will be raised which results in the admin being sent an
email.
This can understandably be pretty annoying if your users are
doing that on a regular basis. So we'll trap that exception
and ignore it.
| author | Justus Pendleton <jpend@users.sourceforge.net> |
|---|---|
| date | Tue, 11 Sep 2007 21:30:14 +0000 |
| parents | 52f89836d05b |
| children | 74476eaac38a |
comparison
equal
deleted
inserted
replaced
| 3895:fa611c224895 | 3896:fca0365521fc |
|---|
