[bisq-network/bisq] Fix log message when opening browser link (#5111)

jmacxx notifications at github.com
Sun Jan 24 06:35:09 CET 2021


A series of stack traces were being logged when opening a browser link on linux.  This is because we try three different variations of the command to open the browser: "kde-open", "gnome-open", "xdg-open" and ones not supported by the distro throw an error.

It was not necessary to log huge stack traces if/when the first two of these commands is not successful.
Instead just log one line via `e.toString()`.

Would be nice to get this in 1.5.5 :pray:  :cherries: 

Previously:
![image](https://user-images.githubusercontent.com/47253594/105621928-51186280-5dd2-11eb-99de-8f611e2d6b23.png)

Now:
![image](https://user-images.githubusercontent.com/47253594/105621963-ace2eb80-5dd2-11eb-999b-4f9c44d4d944.png)

You can view, comment on, or merge this pull request online at:

  https://github.com/bisq-network/bisq/pull/5111

-- Commit Summary --

  * Fix log message when opening browser link

-- File Changes --

    M common/src/main/java/bisq/common/util/DesktopUtil.java (2)

-- Patch Links --

https://github.com/bisq-network/bisq/pull/5111.patch
https://github.com/bisq-network/bisq/pull/5111.diff

-- 
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/5111
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20210123/51944b47/attachment.htm>


More information about the bisq-github mailing list