diff --git a/models/mailing_list.py b/models/mailing_list.py index 55e3ca3..838183d 100755 --- a/models/mailing_list.py +++ b/models/mailing_list.py @@ -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 \ No newline at end of file