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

Fix unconditional crash on MatrixRequestError <500 #183

Merged
merged 1 commit into from Mar 23, 2018
Merged

Fix unconditional crash on MatrixRequestError <500 #183

merged 1 commit into from Mar 23, 2018

Conversation

ghost
Copy link

@ghost ghost commented Mar 23, 2018

If a HTTP error with a code < 500 is received, don't just re-raise the
exception, crashing the listener thread, but pass it to exception_handler if
provided.

Fixes #182: HTTP error <500 during sync crashes listener thread

If a HTTP error with a code < 500 is received, don't just re-raise the
exception, crashing the listener thread, but pass it to exception_handler if
provided.

Fixes #182: HTTP error <500 during sync crashes listener thread
@non-Jedi
Copy link
Collaborator

Signoff please?

@ghost
Copy link
Author

ghost commented Mar 23, 2018

Signed-off-by: Магtіn vаո Βeіlеn @Coffee:matrix.org

@non-Jedi
Copy link
Collaborator

Thanks!

@non-Jedi non-Jedi merged commit b544a46 into matrix-org:master Mar 23, 2018
@ghost ghost deleted the fix_unhandleable_exception branch March 23, 2018 22:20
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