logtail-python
logtail-python copied to clipboard
Flusher fails to log: AttributeError: 'Response' object has no attribute 'exception'
logtail/flusher.py in step() at line 68
if response.status_code == 500 and getattr(response, "exception") != None:
print('Failed to send logs to Better Stack after {} retries: {}'.format(len(RETRY_SCHEDULE), response.exception))
Hey @nsbradford,
Thank you for raising this!
I'm passing this on to the team to reproduce and fix this.
Could you share steps on how to reproduce the issue? 🙏 It would help us fix this faster.
Thank you for the report!
can't reliably reproduce, just happens occasionally 😅