Page MenuHomeSoftware Heritage

Make copy_to raise exceptions from the writer thread.
ClosedPublic

Authored by vlorentz on Aug 20 2019, 4:06 PM.

Details

Summary

Otherwise exceptions are silently ignored, until the transaction finishes.
And when the transaction fails, the returned error message is unhelpful.

This commit makes copy_to return the actual error message.

Diff Detail

Repository
rDCORE Foundations and core functionalities
Branch
copy_to-exception
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 7371
Build 10487: tox-on-jenkinsJenkins
Build 10486: arc lint + arc unit

Event Timeline

olasd requested changes to this revision.Aug 22 2019, 1:42 PM
olasd added a subscriber: olasd.

I'm guessing this needs a rebase since I pushed D1853.

This revision now requires changes to proceed.Aug 22 2019, 1:42 PM
This revision is now accepted and ready to land.Aug 22 2019, 1:53 PM
This revision was automatically updated to reflect the committed changes.