From 9cb02513b4f832492cc848cc01cd7cc1926418ec Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Wed, 6 Nov 2024 20:50:52 -0800 Subject: [PATCH] fix code quality check --- litellm/proxy/auth/auth_checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/proxy/auth/auth_checks.py b/litellm/proxy/auth/auth_checks.py index dcc1c5e90..8d504c739 100644 --- a/litellm/proxy/auth/auth_checks.py +++ b/litellm/proxy/auth/auth_checks.py @@ -720,7 +720,7 @@ async def get_key_object( return _response except httpx.ConnectError as e: return await _handle_failed_db_connection_for_get_key_object(e=e) - except Exception as e: + except Exception: raise Exception( f"Key doesn't exist in db. key={hashed_token}. Create key via `/key/generate` call." )