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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

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.