Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Improved errors when loading ledger balance #5496

Merged
merged 1 commit into from
Nov 9, 2016

Conversation

ayumi
Copy link
Contributor

@ayumi ayumi commented Nov 8, 2016

Humanizes errors when loading ledger balance by mapping error codes to localized messages.

Fix #4920

Auditors: @luixxiul

Test Plan:

  1. Disable internet for Brave (can disable system wide, or app specific eg w/ Little Snitch).
  2. Open Brave and view Preferences > Payments.
  3. Account balance should show error and details.

@@ -26,7 +26,7 @@ paymentsSidebarText2=All transaction IP addresses are anonymized with technology
paymentsSidebarText3=Brave Bitcoin Wallets are provided through a partnership with:
paymentsSidebarText4=Your contributions in the form of credit cards and bank cards are handled by:
accountBalance=account balance
accountBalanceConnectionError=error, can't retrieve data
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For l10n updates pls only update en-US the other files will be pulled down from transifex.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! updated the PR.

Humanizes errors when loading ledger balance by mapping error codes to localized messages.

Fix #4920

Auditors: @luixxiul

Test Plan:
1. Disable internet for Brave (can disable system wide, or app specific eg w/ Little Snitch).
2. Open Brave and view Preferences > Payments.
3. Account balance should show error and details.
@ayumi ayumi force-pushed the feature/better-ledger-balance-errors branch from dfb509b to e81aa58 Compare November 9, 2016 00:59
@bbondy
Copy link
Member

bbondy commented Nov 9, 2016

lgtm but I didn't test, @luixxiul would you mind? Thanks.

@bbondy bbondy merged commit 9a30631 into master Nov 9, 2016
@bbondy
Copy link
Member

bbondy commented Nov 9, 2016

It's on master now, and will be in the 0.12.9 preview build.

@luixxiul luixxiul added this to the 0.12.9dev milestone Dec 7, 2016
@mrose17 mrose17 deleted the feature/better-ledger-balance-errors branch January 24, 2017 18:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants