Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
skshetry committed Aug 5, 2024
1 parent 9ea05c6 commit 7929700
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions build_bin.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import os
import pathlib
from subprocess import STDOUT, check_call, check_output
from subprocess import STDOUT, CalledProcessError, check_call, check_output

path = pathlib.Path(__file__).parent.absolute()
dvc = path / "dvc" / "dvc"
Expand All @@ -18,13 +18,18 @@
stderr=STDOUT,
)

out = check_output(
[
path / "dist" / "dvc" / "dvc",
"doctor",
],
stderr=STDOUT,
).decode()
try:
out = check_output(
[
path / "dist" / "dvc" / "dvc",
"doctor",
],
stderr=STDOUT,
).decode()
except CalledProcessError as exc:
out = exc.output.decode()
print(out)
raise

remotes = [
"s3",
Expand Down

0 comments on commit 7929700

Please sign in to comment.