thaliproject / Tor_Onion_Proxy_Library

Provides a JAR and an AAR for embedding the Tor Onion Proxy into a Java or Android Program
Apache License 2.0
174 stars 97 forks source link

Handle IOException when Checking for Existing Tor Control Connection #116

Closed sisbell closed 5 years ago

sisbell commented 5 years ago

When checking for existing tor control connection don't throw IOException since this propagates up and will cause a startup failure. Just return null so it can be checked and ignored.