Merge pull request #1218 from minrk/raise-not-exit

fix leftover `self.exit` in proxy
This commit is contained in:
Min RK
2017-07-14 14:13:17 +02:00
committed by GitHub

View File

@@ -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()