This commit is contained in:
Manfred Karrer 2018-09-27 20:17:53 -05:00
parent 774b2b3c51
commit 19f1d2b565
No known key found for this signature in database
GPG Key ID: 401250966A6B2C46
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -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));
}
});