From a4a8b3fa2c50cc2edb2adbd4b6488a07ed12d78f Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Tue, 27 Oct 2020 13:38:34 +0100 Subject: [PATCH] Fix scope mistake --- jupyterhub/proxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jupyterhub/proxy.py b/jupyterhub/proxy.py index 8be9b076..870df711 100644 --- a/jupyterhub/proxy.py +++ b/jupyterhub/proxy.py @@ -773,8 +773,8 @@ class ConfigurableHTTPProxy(Proxy): request_timeout=5, # default: 20s ) + most_recent_error = None async def _wait_for_api_request(): - most_recent_error = None try: async with self.semaphore: return await client.fetch(req)