Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flusher fails to log: AttributeError: 'Response' object has no attribute 'exception' #25

Open
nsbradford opened this issue Jun 11, 2024 · 2 comments

Comments

@nsbradford
Copy link

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))
@curusarn
Copy link
Contributor

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!

@nsbradford
Copy link
Author

can't reliably reproduce, just happens occasionally 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants