updated exception handling

This commit is contained in:
McKenzie Welter
2017-08-14 10:31:12 -04:00
parent 0aaea6a080
commit f11a4cf589

View File

@@ -647,6 +647,9 @@ class ProgramMarketingDataExtender(ProgramDataExtender):
})
except (ConnectionError, SlumberBaseException, Timeout):
log.exception('Failed to get discount price for following product SKUs: %s ', ', '.join(skus))
self.data.update({
'discount_data': {'is_discounted': False}
})
else:
is_learner_eligible_for_one_click_purchase = False