From 9007c13552b144001e6e504580b27c8497e79617 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 28 Sep 2023 08:46:11 +0200 Subject: [PATCH] debug mailing list --- models/mailing_list.py | 2 ++ 1 file changed, 2 insertions(+) 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