HI, I want to use the inbuild Singer backoff handl...
# singer-tap-development
n
HI, I want to use the inbuild Singer backoff handler but I want to handle the exceptions myself after the maximum retries have completed. How do I handle this exception? What function should I override? singer_sdk.exceptions.RetriableAPIError: 429 Client Error
I need to handle the case when maximum retries have been completed.
I tried this, but it doesn't work: def giveup_handler(self): logging.error("We retried too many times :(") @backoff.on_exception(backoff.expo, RetriableAPIError, on_giveup=giveup_handler)
e
n
Yes, I did. I followed the documentation but the event handler doesn't seem to work
Neither can I find a code example in any of the meltano connectors. Can you please help me with a sample implementation? In backoff_handler(details) what variables can I access in details?