return from AddBalance on error
This commit is contained in:
parent
b06520e1ea
commit
689469f298
|
@ -136,6 +136,7 @@ def AddBalance(link,cmd):
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
log_error('AddBalance: exception: %s' % str(e))
|
log_error('AddBalance: exception: %s' % str(e))
|
||||||
link.send( "An error has occured")
|
link.send( "An error has occured")
|
||||||
|
return
|
||||||
link.send("%s's balance is now %s" % (aidentity,AmountToString(balance)))
|
link.send("%s's balance is now %s" % (aidentity,AmountToString(balance)))
|
||||||
|
|
||||||
def ScanWho(link,cmd):
|
def ScanWho(link,cmd):
|
||||||
|
|
Loading…
Reference in New Issue