Allow API responses to be returned if schema validation fails
Categories
(Firefox Graveyard :: Shopping, task, P1)
Tracking
(Not tracked)
People
(Reporter: jhirsch, Assigned: fchasen)
References
Details
(Whiteboard: [fidefe-shopping])
Attachments
(1 obsolete file)
The initial toolkit commit throws away the API response if validation fails, but this will probably happen pretty often in the MVP development period. Let's instead be permissive, logging an error but otherwise attempting to return whatever we got back from the API fetch.
| Reporter | ||
Updated•3 years ago
|
Updated•3 years ago
|
| Reporter | ||
Comment 1•3 years ago
|
||
Comment 3•3 years ago
|
||
Backed out for xpcshell failures on test_product.js
Failure log: https://treeherder.mozilla.org/logviewer?job_id=421100887&repo=autoland
Backout link: https://hg.mozilla.org/integration/autoland/rev/c0d3d8606d296a2f62b90cc11f8fb506f12f2b3d
| Reporter | ||
Comment 4•3 years ago
|
||
sorry for breaking stuff during code freeze! I thought I canceled this on Lando before it made its way to autoland :-\
Comment 5•3 years ago
|
||
No worries Jared, if you fix it and still want it in 116 you can give it another go.
Updated•3 years ago
|
| Reporter | ||
Comment 6•3 years ago
|
||
unassigning myself, as :fchasen is going to fix this in another patch he's working on.
| Reporter | ||
Comment 7•3 years ago
|
||
This was closed by the patch for bug 1840678
Updated•1 year ago
|
Description
•