X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/e6934fd8d9d749d8bab4e880d1e3f1f27537c2c1..97c11f22aaf3eacad42d4f78309ffc1f6965e955:/src/black_primer/lib.py?ds=inline diff --git a/src/black_primer/lib.py b/src/black_primer/lib.py index 913f9d5..afeb072 100644 --- a/src/black_primer/lib.py +++ b/src/black_primer/lib.py @@ -131,6 +131,10 @@ async def black_run( else: results.stats["success"] += 1 return + elif cpe.returncode > 1: + results.stats["failed"] += 1 + results.failed_projects[repo_path.name] = cpe + return LOG.error(f"Unknown error with {repo_path}") raise