Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add try for the farmer

  • Loading branch information...
commit 4da078ead98b0aa43acab415b8747a80df03db56 1 parent 5bc115b
pyw authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 bin/dough-farmer
View
6 bin/dough-farmer
@@ -73,9 +73,11 @@ if __name__ == '__main__':
print "item_name=", item_name
action = getattr(api, status)
- action(context, subscription_id, tenant_id, resource_uuid,
+ try:
+ action(context, subscription_id, tenant_id, resource_uuid,
created_at, updated_at, expires_at, order_unit,
order_size, price, currency, region_name,
item_name, interval_unit, interval_size, is_prepaid)
-
+ except Exception, e:
+ print e, subscription_id, item_name
time.sleep(60 * 5)
Please sign in to comment.
Something went wrong with that request. Please try again.