From b60a91072f43d2e2dd8d3b13a7c22f4fdbbf6fed Mon Sep 17 00:00:00 2001 From: Sourabh Gandhi Date: Fri, 5 Apr 2024 13:14:23 +0000 Subject: [PATCH] update logger statement --- tap_facebook/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tap_facebook/__init__.py b/tap_facebook/__init__.py index bf8ec2b..b24d74d 100755 --- a/tap_facebook/__init__.py +++ b/tap_facebook/__init__.py @@ -98,7 +98,9 @@ def retry_on_summary_param_error(backoff_type, exception, **wait_gen_kwargs): """ def log_retry_attempt(details): _, exception, _ = sys.exc_info() - LOGGER.info("Retrying the API call to fix Summary param error") + LOGGER.info('Caught Summary param error after %s tries. Waiting %s more seconds then retrying...', + details["tries"], + details["wait"]) def should_retry_api_error(exception):