mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
fix(utils.py): expanding exception mapping coverage for vertex ai
This commit is contained in:
parent
146381b64b
commit
854b749535
1 changed files with 1 additions and 1 deletions
|
@ -3682,7 +3682,7 @@ def exception_type(
|
|||
llm_provider="vertex_ai",
|
||||
response=original_exception.response
|
||||
)
|
||||
elif "403 Permission denied" in error_str:
|
||||
elif "403" in error_str:
|
||||
exception_mapping_worked = True
|
||||
raise AuthenticationError(
|
||||
message=f"VertexAIException - {error_str}",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue