Log unusual exceptions when trying to obtain a version

Fixes #1262
This commit is contained in:
James R. Barlow
2024-04-07 14:39:08 -07:00
parent 5fdcb7602b
commit 9ba4e3ab46
+1
View File
@@ -171,6 +171,7 @@ def get_version(
) from e
except CalledProcessError as e:
if e.returncode != 0:
log.exception(e)
raise MissingDependencyError(
f"Ran program '{program}' but it exited with an error:\n{e.output}"
) from e