From e1d6ed23f8d09a202e954d252867c156128db384 Mon Sep 17 00:00:00 2001 From: MadcowOG Date: Tue, 3 May 2022 22:05:42 -0700 Subject: [PATCH] Added message about tor unavailability. --- app/request.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/request.py b/app/request.py index 5cd76fa..6070e12 100644 --- a/app/request.py +++ b/app/request.py @@ -64,6 +64,10 @@ def send_tor_signal(signal: Signal) -> bool: os.environ['TOR_AVAILABLE'] = '1' except (SocketError, ConnectionRefusedError, ConnectionError): os.environ['TOR_AVAILABLE'] = '0' + print( + "Unable to authenticate with tor control port." + + "Tor will be unavailable." + ) return False