Merge pull request #337 from yuvipanda/better-output

Provide much better error messages
This commit is contained in:
Yuvi Panda
2019-05-29 13:13:08 -07:00
committed by GitHub
8 changed files with 131 additions and 30 deletions

View File

@@ -22,6 +22,7 @@ from tljh import (
systemd,
traefik,
user,
utils
)
from .config import (
CONFIG_DIR,
@@ -35,7 +36,6 @@ from .yaml import yaml
HERE = os.path.abspath(os.path.dirname(__file__))
logger = logging.getLogger("tljh")
def ensure_node():
@@ -172,7 +172,7 @@ def ensure_jupyterlab_extensions():
'@jupyterlab/hub-extension',
'@jupyter-widgets/jupyterlab-manager'
]
subprocess.check_output([
utils.run_subprocess([
os.path.join(USER_ENV_PREFIX, 'bin/jupyter'),
'labextension',
'install'