If the request sent to the graph API returns an error, forward
the raw error response as the Web API response instead of trying
to parse a JSON response that usually fails.
Details
Details
- Reviewers
vlorentz - Group Reviewers
Reviewers - Commits
- rDWAPPS15e6e1988a56: api/graph: Forward error response from the graph API
Diff Detail
Diff Detail
- Repository
- rDWAPPS Web applications
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
Build has FAILED
Patch application report for D6918 (id=25064)
Rebasing onto e0a181daf4...
Current branch diff-target is up to date.
Changes applied before test
commit 15e6e1988a5667631bfc1c9585b0d710e27ad6be Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Tue Jan 11 16:38:15 2022 +0100 api/graph: Forward error response from the graph API If the request sent to the graph API returns an error, forward the raw error response as the Web API response instead of trying to parse a JSON response that usually fails.
Link to build: https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1286/
See console output for more information: https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1286/console
Comment Actions
Build is green
Patch application report for D6918 (id=25064)
Rebasing onto e0a181daf4...
Current branch diff-target is up to date.
Changes applied before test
commit 15e6e1988a5667631bfc1c9585b0d710e27ad6be Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Tue Jan 11 16:38:15 2022 +0100 api/graph: Forward error response from the graph API If the request sent to the graph API returns an error, forward the raw error response as the Web API response instead of trying to parse a JSON response that usually fails.
See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1287/ for more details.