mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 01:41:11 +01:00
Remove try catch in launchApplication
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
This commit is contained in:
parent
4d99e31281
commit
1945eacc4b
@ -84,11 +84,7 @@ public class RestApi extends ExecutableForAppWithP2p {
|
||||
@Override
|
||||
protected void launchApplication() {
|
||||
UserThread.execute(() -> {
|
||||
try {
|
||||
onApplicationLaunched();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
onApplicationLaunched();
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -78,12 +78,8 @@ public class SeedNodeMain extends ExecutableForAppWithP2p {
|
||||
@Override
|
||||
protected void launchApplication() {
|
||||
UserThread.execute(() -> {
|
||||
try {
|
||||
seedNode = new SeedNode();
|
||||
onApplicationLaunched();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
seedNode = new SeedNode();
|
||||
onApplicationLaunched();
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -49,12 +49,8 @@ public class StatisticsMain extends ExecutableForAppWithP2p {
|
||||
@Override
|
||||
protected void launchApplication() {
|
||||
UserThread.execute(() -> {
|
||||
try {
|
||||
statistics = new Statistics();
|
||||
UserThread.execute(this::onApplicationLaunched);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user