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

art at torproject.org art at torproject.org
Wed Dec 2 11:49:13 UTC 2015


commit a07db1f5d05bf89cfd34c8229813eb7805c35b6a
Author: srvetus <srvetus at users.noreply.github.com>
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'),





More information about the tor-commits mailing list