[Bug]: Unhandled Status 202 for github APIs
Closed this issue · 0 comments
AnshumanDubey1999 commented
Preflight Checklist
- I have read the Contribution.md for this project.
- I agree to follow the Code of Conduct that this project adheres to.
- I have searched the issue for a feature request that matches the one I want to file, without success.
Version
0.0.1
Current Behavior
If some data required to generate the certificate is not cached on github's end, the github api returns a 202 status along with empty data. Current implementation doesn't have a check for this case and results in incorrect data of project.
Expected Behavior
Return an appropriate error in case the github api returns 202 status.
Additional Information
Open this link to understand how github handles un-cached data.