mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 18:03:12 +01:00
Add log
This commit is contained in:
parent
774b2b3c51
commit
19f1d2b565
@ -240,7 +240,7 @@ public class FullNode extends BsqNode {
|
||||
}
|
||||
|
||||
private void handleError(Throwable throwable) {
|
||||
final String errorMessage = "Initializing FullNode failed: Error=" + throwable.toString();
|
||||
String errorMessage = "Initializing FullNode failed: Error=" + throwable.toString();
|
||||
log.error(errorMessage);
|
||||
|
||||
if (errorMessageHandler != null)
|
||||
|
@ -221,6 +221,7 @@ public class RpcService {
|
||||
|
||||
@Override
|
||||
public void onFailure(@NotNull Throwable throwable) {
|
||||
log.error("Error at requestBtcBlock: blockHeight={}", blockHeight);
|
||||
UserThread.execute(() -> errorHandler.accept(throwable));
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user