|
|
@ -117,9 +117,11 @@ class MailingContact(models.Model): |
|
|
|
|
|
|
|
api_response = api_instance.create_contact(create_contact) |
|
|
|
#raise Warning(api_response) |
|
|
|
_logger.info(api_response) |
|
|
|
pprint(api_response) |
|
|
|
return True |
|
|
|
|
|
|
|
except ApiException as e: |
|
|
|
_logger.info(str(e)) |
|
|
|
#raise Warning("Exception when calling ContactsApi->create_list: %s\n" % e) |
|
|
|
return False |