Commit b89af83d862aff94528f919f8c9b54858beb85b5

Authored by Adhidarma Hadiwinoto
1 parent 9f368b7fce
Exists in master

verbose before remove product

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

... ... @@ -119,6 +119,7 @@ def handleSms(sms):
119 119 elif sms.text.find('Mohon maaf, transaksi Anda melebihi limit nominal bulanan') >= 0:
120 120 pushTopupStatus(LAST_REQUEST_ID, '40', sms.text)
121 121  
  122 + logger.info('Monthly limit for "{0}" detected, removing from product list'.format(LAST_PRODUCT))
122 123 PRODUCTS = sate24.removeProduct(PRODUCTS, LAST_PRODUCT)
123 124 logger.warning('Monthly limit for "{0}" exceeded. New active products: "{1}"'.format(LAST_PRODUCT, PRODUCTS))
124 125 return