HomeSoftware Heritage

Make copy_to raise exceptions from the writer thread.

Description

Make copy_to raise exceptions from the writer thread.

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.

Details

Provenance
vlorentzAuthored on Aug 20 2019, 4:05 PM
vlorentzPushed on Aug 22 2019, 1:54 PM
Differential Revision
D1872: Make copy_to raise exceptions from the writer thread.
Parents
rDCORE0ca10c9b4b7b: Add logging when escaping data fails in BaseDb.copy_to
Branches
Unknown
Tags
Unknown
References
tag: v0.0.67
Build Status
Buildable 7373
Build 10490: test-and-buildJenkins