[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [flashproxy/master] Make it a log but not a fatal error when failing to register.
commit a374073b7b03b432a43123dde7b8d793143889cf
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date: Sat Apr 7 02:03:09 2012 -0700
Make it a log but not a fatal error when failing to register.
---
connector.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/connector.py b/connector.py
index 38acbf7..5bdbda4 100755
--- a/connector.py
+++ b/connector.py
@@ -552,7 +552,10 @@ def register():
else:
command += [format_addr(options.facilitator_addr)]
command += ["-a", spec]
- p = subprocess.Popen(command)
+ try:
+ p = subprocess.Popen(command)
+ except OSError, e:
+ log(u"Failed to register: %s" % str(e))
def proxy_chunk_local_to_remote(local, remote):
try:
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits