[flashproxy/js] Make it a log but not a fatal error when failing to register.
7 Apr
2012
7 Apr
'12
12:16 p.m.
commit a374073b7b03b432a43123dde7b8d793143889cf Author: David Fifield <david@bamsoftware.com> 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:
5014
Age (days ago)
5014
Last active (days ago)
0 comments
1 participants
participants (1)
-
dcf@torproject.org