Strange's exception :-)
Wojtek Walczak
gminick at hacker.pl
Mon Nov 25 11:15:10 EST 2002
Dnia Mon, 25 Nov 2002 15:43:15 GMT, bart napisał(a):
> Traceback (most recent call last):
[...]
> IOError: [Errno 104] Connection reset by peer
> What can I do to manage this exception?
Not your fault. Looks like server you're trying to connect to is down.
All you can do is to handle that exception in some pretty way like:
try:
...
except IOError:
sys.exit("Connection reset by peer.\nTry again later ;)")
HTH.
--
[ ] gminick (at) underground.org.pl http://gminick.linuxsecurity.pl/ [ ]
[ "Po prostu lubie poranna samotnosc, bo wtedy kawa smakuje najlepiej." ]
More information about the Python-list
mailing list