Skip to content

Capture git errors in case git doesn't exist#2254

Open
t2h-fb wants to merge 1 commit intoROCm:mainfrom
t2h-fb:meta-env-fix
Open

Capture git errors in case git doesn't exist#2254
t2h-fb wants to merge 1 commit intoROCm:mainfrom
t2h-fb:meta-env-fix

Conversation

@t2h-fb
Copy link

@t2h-fb t2h-fb commented Mar 11, 2026

When git doesn't exist (e.g. in some bare-minimum containers), subprocess throws a different error not captured by subprocess.CalledProcessError. Change to except: to catch all.

@t2h-fb t2h-fb requested a review from a team March 11, 2026 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant