Provide a better user experience by not showing a full python error stack for common URL or JSON errors.
ref T3816
Details
Details
- Reviewers
Fabien - Group Reviewers
Restricted Project - Maniphest Tasks
- Restricted Maniphest Task
- Commits
- rABCc362a890c708: [electrum] wrap the error message when exchange rate API fails
Try loading invoices with various errors (Tools > Invoice > Load and pay invoice).
With the example provided in T3816, replacing "api.binance.com" with "apisdqdsfgsqdg.binance.com" causes a JSONError.
Replacing "symbol=XECUSDT" with "symbol=XECUSGT" causes a HTTPError.
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable