diff --git a/proxywatchd.py b/proxywatchd.py index 1cf6cc2..aad9231 100644 --- a/proxywatchd.py +++ b/proxywatchd.py @@ -49,15 +49,6 @@ class WorkerJob(): return sock, proto, duration, torhost, srv except KeyboardInterrupt as e: raise(e) - except rocksock.RocksockException as e: - ## tor failed to connect - if e.get_failedproxy() == -1: break - ## proxy refused connexion - elif int(e.error) in [12, 13, 20, 24]: break - ## skip generic errors - #elif int(e.error) == 7: continue - ## debug purpose - #print('proxy#: %s, errortype: %s, error: %s' % (e.failedproxy, e.errortype, e.error)) except: sock.disconnect() return None, None, None, None, None