-
Notifications
You must be signed in to change notification settings - Fork 308
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(MavenSupport): Improve the caching logic for empty remote artifacts
Previously, failures to look up remote artifacts were unconditionally cached as empty artifacts. While it is hard to reliably determine the root cause of a failed lookup, in the case that all candidate URLs do not end with a known extension it is very likely that ORT ran into a bug in the context of #4694. Ease debugging such cases by not anymore caching failed lookups due to missing file extensions, and generally improve the logging when returning an empty remote artifact. Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
- Loading branch information
1 parent
632cdaf
commit bd9f9b2
Showing
1 changed file
with
21 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters