Meaning that:
- server should raise 400 on these errors instead of 500
- client should catch them and re-raise them.
Paths
| Differential D2688 Authored by vlorentz on Feb 18 2020, 1:39 PM.
Details
Summary Meaning that:
Test Plan Tests will fail because this diff depends on D2687.
Diff Detail
Event TimelineHerald added a reviewer: Reviewers. · View Herald TranscriptFeb 18 2020, 1:39 PM2020-02-18 13:39:03 (UTC+1) Comment Actions Build is green Harbormaster completed remote builds in B10658: Diff 9597.Feb 18 2020, 1:40 PM2020-02-18 13:40:46 (UTC+1) This revision is now accepted and ready to land.Feb 18 2020, 1:51 PM2020-02-18 13:51:22 (UTC+1) Comment Actions Build is green Harbormaster completed remote builds in B10665: Diff 9604.Feb 18 2020, 2:05 PM2020-02-18 14:05:51 (UTC+1) Closed by commit rDOBJSb23bf3fa4c11: Handle ObjNotFoundError and Error as client errors instead of server errors. (authored by vlorentz). · Explain WhyFeb 18 2020, 2:10 PM2020-02-18 14:10:08 (UTC+1) This revision was automatically updated to reflect the committed changes.
Diff 9606 swh/objstorage/api/client.py
swh/objstorage/api/server.py
|