Skip to content
This repository has been archived by the owner. 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 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

This comment has been minimized.

Copy link
@bbondy

bbondy Nov 9, 2016

Member

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

This comment has been minimized.

Copy link
@ayumi

ayumi Nov 9, 2016

Author Contributor

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 Nov 9, 2016
@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
0 of 3 checks passed
0 of 3 checks passed
continuous-integration/appveyor/pr AppVeyor build failed
Details
continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
continuous-integration/travis-ci/push The Travis CI build is in progress
Details
@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

This comment has been minimized.

Copy link
Contributor

luixxiul commented on e81aa58 Nov 9, 2016

++

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

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.