mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-18 07:23:00 +00:00
Merge pull request #1218 from minrk/raise-not-exit
fix leftover `self.exit` in proxy
This commit is contained in:
@@ -433,7 +433,7 @@ class ConfigurableHTTPProxy(Proxy):
|
|||||||
"The proxy can be installed with `npm install -g configurable-http-proxy`"
|
"The proxy can be installed with `npm install -g configurable-http-proxy`"
|
||||||
% self.command
|
% self.command
|
||||||
)
|
)
|
||||||
self.exit(1)
|
raise
|
||||||
|
|
||||||
def _check_process():
|
def _check_process():
|
||||||
status = self.proxy_process.poll()
|
status = self.proxy_process.poll()
|
||||||
|
Reference in New Issue
Block a user