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

raise StateSerializationError if the state cannot be serialized #4453

Merged
merged 3 commits into from
Dec 11, 2024

Conversation

benedikt-bartscher
Copy link
Contributor

@benedikt-bartscher benedikt-bartscher commented Nov 28, 2024

Ignored errors during state serialize causing errors during deserialize
this can be hard to debug

Task exception was never retrieved
future: <Task finished name='Task-341' coro=<AsyncServer._handle_event_internal() done, defined at /app/.venv/lib/python3.13/site-packages/socketio/async_server.py:608> exception=EOFError('Ran out of input')>

if needed, I can make this an optional check which can be enabled via env

@benedikt-bartscher benedikt-bartscher marked this pull request as ready for review November 28, 2024 21:18
@Lendemor Lendemor merged commit 2ee201b into reflex-dev:main Dec 11, 2024
32 checks passed
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.

2 participants