From 884f3decddc267127888bf56cca7801b103d794e Mon Sep 17 00:00:00 2001 From: GeorgianaElena Date: Fri, 21 Aug 2020 18:03:21 +0300 Subject: [PATCH] Log info about progress page server status --- tljh/installer.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tljh/installer.py b/tljh/installer.py index 1ad6969..3712416 100644 --- a/tljh/installer.py +++ b/tljh/installer.py @@ -506,11 +506,14 @@ def main(): ensure_jupyterhub_package(HUB_ENV_PREFIX) ensure_jupyterlab_extensions() - # Stop the http server with the loading page before traefik starts + # Stop the http server with the progress page before traefik starts if args.progress_page_server_pid: try: os.kill(args.progress_page_server_pid, signal.SIGINT) + # Log and print the message to make testing easier + print("Progress page server stopped successfully.") except Exception as e: + logger.error(f"Couldn't stop the progress page server. Exception was {e}.") pass ensure_jupyterhub_service(HUB_ENV_PREFIX)