[bisq-network/bisq] Improve handling when unable to connect to tor (#2399)

Devin Bileck notifications at github.com
Mon Feb 11 20:06:46 UTC 2019


devinbileck commented on this pull request.



>                  // Furthermore, we have no hidden services started yet, so there is no graceful
                 // shutdown needed either
-                System.exit(1);
+                UserThread.execute(() -> {
+                    setupListeners.stream().forEach(s -> s.onSetupFailed(new RuntimeException(e.getMessage())));
+                });
             } catch (Throwable ignore) {
             }

@freimair Since I removed `restartTor(throwable.getMessage());` from onFailure below since I didn't want it to be called after handling IOException above, perhaps I should add it to this ignored exception?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/2399#pullrequestreview-202312426
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20190211/611f8c69/attachment-0001.html>


More information about the bisq-github mailing list