Repository navigation
Corrected error handling in case of 502 GitHub response - #759
Conversation
|
Hi @sivaschenko, thanks for the improvement of the error handling! Can you add a test to verify the behaviour change? Thanks! |
|
Hi @acrobat Thank you for review. Could you please suggest what type of tests should be added? (API, integration, etc) |
|
@okorshenko I would suggest to add a unit test to check the behaviour of the |
|
Hi @acrobat |
|
Hi @sivaschenko, really nice testcase you provided there! Thanks for the PR and congrats on your first contribution! Merry christmas to you! |
|
Thanks for the merge! @acrobat are there any plans/schedule for the next release? |
|
@sivaschenko I will try to get one out in the next few days! |
In case when GitHub returns a 502 response, the structure of returned content is not handled by
GithubExceptionThrowercorrectly and results in the following error:That happen i.e. when trying to do too many GraphQL requests in a short period of time.
See debug screenshot:
Added a proper handling.