Page MenuHomeSoftware Heritage

Make sure TypeErrors can pass through the RPC layer
ClosedPublic

Authored by olasd on Nov 19 2019, 3:02 PM.

Details

Summary

swh.storage raises TypeErrors when type checking of incoming objects fails. We
need to make sure that these go through the RPC layer unchanged.

Test Plan

new test added to tox

Diff Detail

Repository
rDCORE Foundations and core functionalities
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

olasd created this revision.Nov 19 2019, 3:02 PM
douardda accepted this revision.Nov 19 2019, 3:15 PM
This revision is now accepted and ready to land.Nov 19 2019, 3:15 PM
This revision was automatically updated to reflect the committed changes.