The returned error reason didn't contain any details after the merge with DNF4 version. The reason is that previously, the actual exception returned by the DNF library was appended to the error reason. However, now it is wrapped by a custom `MarkingErrors` exception, which didn't have any details set. The wrapped exception in the `__cause__` property was not taken into account. Revert to the original behavior by reusing the wrapped exception message as the message for the wrapper exception. Extend the unit test to allow testing of depsolving failures. Signed-off-by: Tomáš Hozza <thozza@redhat.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| dnf.py | ||
| dnf5.py | ||