ucsd-cse110-fa23 / cse-110-project-team-20

cse-110-project-team-20 created by GitHub Classroom
0 stars 0 forks source link

[DS1-1] Fix response parsing issue on ServerRecipeGenerator #227

Closed edykim closed 11 months ago

edykim commented 11 months ago

While testing, found some response does not parse correctly, even though there is a proper response. It occurs about 1 in every 3 to 4 attempts.

The causing issue is that HttpURLConnection passes the normal response in ErrorStream not in InputStream some reason. I assumed that some character set issue but not sure the causing issue because we uses same structure on every request/response. We get ErrorStream data if InputStream returns nothing for now.

Close #226

github-actions[bot] commented 11 months ago

Code Coverage

Overall Project 76.18% -0.42% :green_apple:
Files changed 16% :x:


File Coverage
ServerRecipeGenerator.java 89.77% -7.95% :x: