return from AddBalance on error

This commit is contained in:
moneromooo 2015-01-20 19:28:46 +00:00
parent b06520e1ea
commit 689469f298
1 changed files with 1 additions and 0 deletions

View File

@ -136,6 +136,7 @@ def AddBalance(link,cmd):
except Exception, e:
log_error('AddBalance: exception: %s' % str(e))
link.send( "An error has occured")
return
link.send("%s's balance is now %s" % (aidentity,AmountToString(balance)))
def ScanWho(link,cmd):