Skip to content

Commit

Permalink
update logger statement
Browse files Browse the repository at this point in the history
  • Loading branch information
sgandhi1311 committed Apr 5, 2024
1 parent 178731e commit b60a910
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tap_facebook/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):

Expand Down

0 comments on commit b60a910

Please sign in to comment.