Permalink
Browse files

Fix non-english OSX

  • Loading branch information...
nopara73 committed Nov 2, 2018
1 parent 8bbcee6 commit da9ce34499e011028e1a7d21540cc5ef0a071802
Showing with 5 additions and 0 deletions.
  1. +5 −0 WalletWasabi/TorSocks5/TorSocks5Client.cs
@@ -111,6 +111,11 @@ internal async Task ConnectAsync()
{
error = ex;
}
// "Connection refused" for non-English OSX.
catch (SocketException ex) when (ex.ErrorCode == 61)
{
error = ex;
}
if (error != null)
throw new ConnectionException(
$"Couldn't connect to Tor SOCKSPort at {TorSocks5EndPoint.Address}:{TorSocks5EndPoint.Port}. Is Tor running?", error);

0 comments on commit da9ce34

Please sign in to comment.