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

Bug: Keep retrying the send event when the user's machine is offline #47

Open
idomic opened this issue Dec 24, 2021 · 0 comments
Open

Comments

@idomic
Copy link

idomic commented Dec 24, 2021

When I tested with posthog on an offline machine, the api kept retrying to send an event instead of getting the connection status and stop from retrying, it also outputted the exception to the client. What eventually I did was writing a function to detect the status of the network and skip the api call if it's offline.

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

1 participant