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)