From a13e7766fce4da5e556d40628f7a335959f93381 Mon Sep 17 00:00:00 2001 From: Min RK Date: Fri, 14 Jul 2017 10:51:14 +0200 Subject: [PATCH] fix leftover `self.exit` in proxy self.exit is a method on Application, missed copying the proxy code out of the JupyterHub app. --- jupyterhub/proxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jupyterhub/proxy.py b/jupyterhub/proxy.py index ae722262..708e9f2c 100644 --- a/jupyterhub/proxy.py +++ b/jupyterhub/proxy.py @@ -433,7 +433,7 @@ class ConfigurableHTTPProxy(Proxy): "The proxy can be installed with `npm install -g configurable-http-proxy`" % self.command ) - self.exit(1) + raise def _check_process(): status = self.proxy_process.poll()