From 5f0091356097029687423f8a65f9e8287438b1dd Mon Sep 17 00:00:00 2001 From: Collin Simon Date: Tue, 13 Apr 2021 15:18:18 +0000 Subject: [PATCH] Update error message on campaigns job timeout --- tap_mailchimp/sync.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tap_mailchimp/sync.py b/tap_mailchimp/sync.py index fc17796..d54558c 100644 --- a/tap_mailchimp/sync.py +++ b/tap_mailchimp/sync.py @@ -243,8 +243,7 @@ def poll_email_activity(client, state, batch_id): if data['status'] == 'finished': return data elif (time.time() - start_time) > MAX_RETRY_ELAPSED_TIME: - message = 'campaigns - export deadline exceeded ({} secs)'.format( - MAX_RETRY_ELAPSED_TIME) + message = 'Mailchimp campaigns export is still in progress after {} seconds. Will continue with this export on the next sync.'.format(MAX_RETRY_ELAPSED_TIME) LOGGER.error(message) raise Exception(message)