If dnf-json returns an error that is related to a repository, it uses the ID to identify the repository that caused the error. Since IDs can't easily be mapped back to a configuration, appending the URL and name (if any) to the error message makes it easier to identify which repository failed. Keeping the ID in the message is also useful for finding the cache directory of the repository if needed. |
||
|---|---|---|
| .. | ||
| cache.go | ||
| cache_test.go | ||
| dnfjson.go | ||
| dnfjson_test.go | ||