-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Raise exception when git clone fails (#1709)
When a git repository failed to clone, we had just been logging an error and continuing. [The code later assumes the clone was successful](https://github.com/google/osv.dev/blob/36c344dee7e46cc1fa5cf0dea2222552b9efe953/osv/impact.py#L321), which was causing another exception. Instead, just raise an exception when the clone fails to make it more obvious what's wrong.
- Loading branch information
1 parent
5d4a9cb
commit 55fb414
Showing
1 changed file
with
22 additions
and
18 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