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

do not crash when receiving corrupted json from watchman #38

Merged
merged 2 commits into from
Oct 5, 2018

Conversation

mmerickel
Copy link
Member

I do not know why, but in practice while using watchman I infrequently receive corrupted json payloads. I think it's related to interactions with other watchers on the system (such as from other node.js file loaders using watchman) and it causes watchman to dump corrupted json onto the socket. This fix will just skip such packets and keep running.

@mmerickel mmerickel merged commit 072bd48 into Pylons:master Oct 5, 2018
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

Successfully merging this pull request may close these issues.

1 participant