mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2025-11-05 11:56:37 +00:00
improve error dialog on payjoin receiver error
This commit is contained in:
parent
2c27112dad
commit
6240667478
1 changed files with 3 additions and 0 deletions
|
|
@ -108,6 +108,9 @@ public class Payjoin {
|
|||
} catch(PSBTParseException e) {
|
||||
log.error("Error parsing received PSBT", e);
|
||||
throw new PayjoinReceiverException("Payjoin receiver returned invalid PSBT", e);
|
||||
} catch(PayjoinReceiverException e) {
|
||||
log.error("Payjoin receiver error", e);
|
||||
throw e;
|
||||
} catch(Exception e) {
|
||||
log.error("Payjoin error", e);
|
||||
throw new PayjoinReceiverException("Payjoin error", e);
|
||||
|
|
|
|||
Loading…
Reference in a new issue