-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix export_sources for non-existent recipes in a local index (#16776)
* Fix export_sources for non-existent recipes in a local index. Previously, a local recipe index client would raise a different exception than a REST client when exporting sources for a non- existent recipe, which causes a hard failure rather than allowing the caller to move on to the next remote. This patch makes their behaviours consistent and raise a RecipeNotFoundException instead. * Fix formatting * refactored test * use try-except --------- Co-authored-by: memsharded <james@conan.io>
- Loading branch information
1 parent
7f3f099
commit 9768d04
Showing
2 changed files
with
40 additions
and
2 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
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