mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Merge pull request #337 from yuvipanda/better-output
Provide much better error messages
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user