forked from LBRYCommunity/lbry-sdk
A More Informative Error Message (#1309)
Additional information added to the balance error message when editing a claim.
This commit is contained in:
parent
2ddd6b051d
commit
94f4e6714a
2 changed files with 10 additions and 2 deletions
|
@ -8,6 +8,12 @@ can and probably will change functionality and break backwards compatability
|
||||||
at anytime.
|
at anytime.
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [0.20.3] - 2018-07-20
|
||||||
|
### Changed
|
||||||
|
* Additional information added to the balance error message when editing a claim.
|
||||||
|
(https://github.com/lbryio/lbry/pull/1309)
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
|
|
|
@ -1873,8 +1873,10 @@ class Daemon(AuthJSONRPCServer):
|
||||||
. format(MAX_UPDATE_FEE_ESTIMATE - balance))
|
. format(MAX_UPDATE_FEE_ESTIMATE - balance))
|
||||||
elif amount > max_bid_amount:
|
elif amount > max_bid_amount:
|
||||||
raise InsufficientFundsError(
|
raise InsufficientFundsError(
|
||||||
"Please lower the bid value, the maximum amount you can specify for this channel is {}"
|
"Please wait for any pending bids to resolve or lower the bid value. "
|
||||||
.format(max_bid_amount))
|
"Currently the maximum amount you can specify for this channel is {}"
|
||||||
|
.format(max_bid_amount)
|
||||||
|
)
|
||||||
|
|
||||||
result = yield self.session.wallet.claim_new_channel(channel_name, amount)
|
result = yield self.session.wallet.claim_new_channel(channel_name, amount)
|
||||||
self.analytics_manager.send_new_channel()
|
self.analytics_manager.send_new_channel()
|
||||||
|
|
Loading…
Reference in a new issue