diff --git a/CHANGELOG.md b/CHANGELOG.md index c93498f79..797244a9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ at anytime. ## [Unreleased] ### Added * Added claim_address option to publish API command - * + * Added message for InsufficientFundsError exception ### Changed * Do not catch base exception in API command resolve diff --git a/lbrynet/lbrynet_daemon/Daemon.py b/lbrynet/lbrynet_daemon/Daemon.py index de7332a87..044fea5c8 100644 --- a/lbrynet/lbrynet_daemon/Daemon.py +++ b/lbrynet/lbrynet_daemon/Daemon.py @@ -1757,7 +1757,8 @@ class Daemon(AuthJSONRPCServer): raise Exception("Invalid bid") if bid >= self.session.wallet.get_balance(): - raise InsufficientFundsError() + raise InsufficientFundsError('Insufficient funds. ' \ + 'Make sure you have enough LBC to deposit') metadata = metadata or {} if fee is not None: