Added message that will show tor auth failed.
This commit is contained in:
parent
b100e9d6c9
commit
1f9e07c4fe
|
@ -58,6 +58,7 @@ def send_tor_signal(signal: Signal) -> bool:
|
|||
os.environ['TOR_AVAILABLE'] = '1'
|
||||
except (SocketError, ConnectionRefusedError, ConnectionError):
|
||||
os.environ['TOR_AVAILABLE'] = '0'
|
||||
print("Authentication with control port failed. Tor will be unavailable.")
|
||||
return False
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user