We want to continue not break.

This commit is contained in:
Rebecca Law
2019-04-24 15:37:40 +01:00
parent b1d4af2f4a
commit acd47f44f0

View File

@@ -830,12 +830,12 @@ def populate_go_live(file_name):
go_live_user = get_user_by_email(go_live_email)
except NoResultFound:
print("No user found for email address: ", go_live_email)
break
continue
try:
service = dao_fetch_service_by_id(service_id)
except NoResultFound:
print("No service found for: ", service_id)
break
continue
service.go_live_user = go_live_user
service.go_live_at = go_live_date
dao_update_service(service)