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

Add better exception handling in ApiFailureStrategy #2643

Merged
merged 2 commits into from
Aug 3, 2016
Merged

Add better exception handling in ApiFailureStrategy #2643

merged 2 commits into from
Aug 3, 2016

Conversation

Lyrex
Copy link
Contributor

@Lyrex Lyrex commented Aug 3, 2016

This pull request adds more exception handling in ApiFailureStrategy.
It now displays more specific error messages and catches invalid server responses.

Lyrex added 2 commits August 3, 2016 21:34
This commit slightly changes the behavior of exception handling in
ApiFailureStrategy. Exceptions are now catched more specifically and
are printing more specific error messages.
Implement the catching of InvalidResponseException in ApiFailureStrategy
to avoid crashes because of unstable servers or invalid responses on api
requests
@NecronomiconCoding NecronomiconCoding merged commit f42fb5e into NecronomiconCoding:master Aug 3, 2016
@Lyrex Lyrex deleted the patch-exception branch August 3, 2016 23:57
schnapster pushed a commit to schnapster/NecroBot that referenced this pull request Dec 8, 2016
Add better exception handling in ApiFailureStrategy
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