Revert catch on Tor Android connection (#287)

This commit is contained in:
KoalaSat 2022-10-16 08:09:42 +00:00 committed by GitHub
parent 6ecf6b105d
commit ded1bdb764
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -119,14 +119,7 @@ const App = () => {
if (state.isInternetReachable) {
try {
daemonStatus = await torClient.daemon.getDaemonStatus();
if (daemonStatus === 'NOTINIT') {
await torClient.reset();
return sendTorStatus();
}
} catch {
await torClient.reset();
return sendTorStatus();
}
} catch { }
}
injectMessage({