HomeSoftware Heritage

validate: ensure StorageArgumentException is always encodable

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

validate: ensure StorageArgumentException is always encodable

by embeding a string representation of the original Exception as
StorageArgumentException args instead of the original exc.args
since this can contain any python (possibli non-serializable) object.

This is needed e.g. when swh.model has runtime type validation.

Details

Provenance
douarddaAuthored on Mar 20 2020, 11:05 AM
douarddaPushed on Mar 30 2020, 3:20 PM
Differential Revision
D2910: validate: ensure StorageArgumentException is always encodable
Build Status
Buildable 11458
Build 17366: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.