cashubtc / nutshell

Chaumian ecash wallet and mint for Bitcoin
https://docs.cashu.space
MIT License
379 stars 95 forks source link

[Mint] Do not print Error on `AssertionError: quote not paid` #418

Open callebtc opened 9 months ago

callebtc commented 9 months ago

Title

ifuensan commented 3 weeks ago

Hi @callebtc ,

I would like to help with that issue. When I run the command cashu invoice 10 --id <ID>, if the quote is not paid, I get the following message:

Exception: Mint Error: quote not paid (Code: 2001)

It doesn't show a full stack trace, just this exception message. Could you please confirm if this issue is about changing this error message, or if it's possibly an older issue that has already been resolved? I'm happy to help adjust the message if you're looking for something clearer.

My process for reproduce the exception: imagen

imagen

imagen

Thank you!