mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-11-05 05:46:44 +00:00
output hwi signing exception to log
This commit is contained in:
parent
8ae3399d56
commit
fb85277894
2 changed files with 2 additions and 2 deletions
|
@ -625,7 +625,7 @@ public class DevicePane extends TitledDescriptionPane {
|
||||||
});
|
});
|
||||||
signPSBTService.setOnFailed(workerStateEvent -> {
|
signPSBTService.setOnFailed(workerStateEvent -> {
|
||||||
setError("Signing Error", signPSBTService.getException().getMessage());
|
setError("Signing Error", signPSBTService.getException().getMessage());
|
||||||
log.error("Signing Error: " + signPSBTService.getException().getMessage());
|
log.error("Signing Error: " + signPSBTService.getException().getMessage(), signPSBTService.getException());
|
||||||
signButton.setDisable(false);
|
signButton.setDisable(false);
|
||||||
});
|
});
|
||||||
setDescription("Signing...");
|
setDescription("Signing...");
|
||||||
|
|
|
@ -220,7 +220,7 @@ public class Hwi {
|
||||||
} catch(IOException e) {
|
} catch(IOException e) {
|
||||||
throw new SignTransactionException("Could not sign PSBT", e);
|
throw new SignTransactionException("Could not sign PSBT", e);
|
||||||
} catch(PSBTParseException e) {
|
} catch(PSBTParseException e) {
|
||||||
throw new SignTransactionException("Could not parsed signed PSBT", e);
|
throw new SignTransactionException("Could not parse signed PSBT", e);
|
||||||
} finally {
|
} finally {
|
||||||
isPromptActive = false;
|
isPromptActive = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue