Print json exception from top level (callback) and made both onFailure functions the same (now handleOnFailure)
Stop playing if bet amount will be <= 0