add message for exception so that app can render

This commit is contained in:
Le Long 2017-06-09 00:16:32 +02:00
parent dbe071cbb7
commit 4c06db1901

View file

@ -1757,7 +1757,7 @@ class Daemon(AuthJSONRPCServer):
raise Exception("Invalid bid") raise Exception("Invalid bid")
if bid >= self.session.wallet.get_balance(): if bid >= self.session.wallet.get_balance():
raise InsufficientFundsError() raise InsufficientFundsError("Insufficient funds. Make sure you have enough LBC to deposit")
metadata = metadata or {} metadata = metadata or {}
if fee is not None: if fee is not None: