[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [ooni-probe/master] Move general SOCKSError after more specific failures



commit a07db1f5d05bf89cfd34c8229813eb7805c35b6a
Author: srvetus <srvetus@xxxxxxxxxxxxxxxxxxxxxxxx>
Date:   Thu Nov 19 13:52:47 2015 +0100

    Move general SOCKSError after more specific failures
---
 ooni/errors.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ooni/errors.py b/ooni/errors.py
index 84c0afc..55b97e1 100644
--- a/ooni/errors.py
+++ b/ooni/errors.py
@@ -30,7 +30,6 @@ known_failures = [
     (ResponseNeverReceived, 'response_never_received'),
     (DeferTimeoutError, 'deferred_timeout_error'),
     (GenericTimeoutError, 'generic_timeout_error'),
-    (SOCKSError, 'socks_error'),
     (MethodsNotAcceptedError, 'socks_methods_not_supported'),
     (AddressNotSupported, 'socks_address_not_supported'),
     (NetworkUnreachable, 'socks_network_unreachable'),
@@ -43,6 +42,7 @@ known_failures = [
     (ConnectionRefused, 'socks_connection_refused'),
     (TTLExpired, 'socks_ttl_expired'),
     (CommandNotSupported, 'socks_command_not_supported'),
+    (SOCKSError, 'socks_error'),
     (ProcessDone, 'process_done'),
     (ConnectionDone, 'connection_done'),
     (ConnectError, 'connect_error'),



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits