-
Notifications
You must be signed in to change notification settings - Fork 6
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
matrix: HANDLE EXCEPTIONS OMG #4
Comments
|
jahschwa
changed the title
matrix kills bot when failing to connect
matrix: HANDLE EXCEPTIONS OMG
Apr 14, 2017
Seems no longer blocked externally after: |
Resolved along with #28. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The matrix protocol does not handle failure to connect correctly, bringing down the entire bot. Although the relevant line is wrapped in a
try
statement,except MatrixRequestError as e:
doesn't catch the exception because it's raised directly byrequests
and not translated/recast by the matrix api.Reproducing: enable the matrix protocol and try to run Sibyl without working internet
The text was updated successfully, but these errors were encountered: