Closed asafambar closed 3 months ago
PR description: The PR introduces support for recognizing errors that occur while building the Go dependency tree. The primary reason for adding this support is to detect errors originating from the curation service. It's essential to catch these errors during the tree-building process, as they can occur when fetching dependencies from Artifactory as a result of running the go list command. The code changes involve passing a function to handle these errors, allowing the libraries that use it to manage error handling and reduce code duplication.
…n when building go tree
[X] I used gofmt for formatting the code before submitting the pull request.
The PR introduces support for recognizing errors that occur while building the Go dependency tree. The primary reason for adding this support is to detect errors originating from the curation service. It's essential to catch these errors during the tree-building process, as they can occur when fetching dependencies from Artifactory as a result of running the go list command. The code changes involve passing a function to handle these errors, allowing the libraries that use it to manage error handling and reduce code duplication.