mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-23 15:00:30 +01:00
This commit factors out a run() method in CliMain that either returns (void) or throws an exception. This eliminates the need to call System.exit in so many places as were previously. Indeed, now there is only one place where System.exit is called. It also removes the duplication of printing "Error: ..." to stderr when something goes wrong by doing this once in the global catch clause in the main method. |
||
---|---|---|
.. | ||
src/main | ||
test.sh |