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

art at torproject.org art at torproject.org
Fri Apr 29 09:42:22 UTC 2016


commit 5f8bc2ca87dfcbc7ea666276c9a24b50e092c6c6
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