Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion web/build-versions
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import shutil
import subprocess
import tarfile
import tempfile
import traceback
from pathlib import Path
from typing import Dict, List, Optional, Union

Expand All @@ -29,6 +30,7 @@ def _run(argv: List[str], cwd: Optional[Union[str, Path]] = None,
print(p.stderr)
raise Exception(f'Command {" ".join(argv)} failed')
else:
print(p.stdout)
return p.stdout


Expand Down Expand Up @@ -98,7 +100,11 @@ def run() -> None:
print('.', end='')
out = Path('docs').absolute() / '.web-build' / 'v' / label
out.mkdir(parents=True, exist_ok=True)
build(dst, pd, out)
try:
build(dst, pd, out)
except Exception as ex:
traceback.print_exc()
print(f'Failed to build docs for {label}')
print()


Expand Down
Loading