mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
fix decrypt value logic
This commit is contained in:
parent
561a30dd59
commit
05667f75f2
1 changed files with 0 additions and 4 deletions
|
@ -28,10 +28,6 @@ def decrypt_value_helper(value: str):
|
|||
decoded_b64 = base64.b64decode(value)
|
||||
value = decrypt_value(value=decoded_b64, master_key=master_key) # type: ignore
|
||||
return value
|
||||
else:
|
||||
raise ValueError(
|
||||
f"Invalid value passed to decrypt_value: {value}\n Value must be a string. but passed value type is: {type(value)}"
|
||||
)
|
||||
except Exception as e:
|
||||
verbose_proxy_logger.error(f"Error decrypting value: {value}\nError: {str(e)}")
|
||||
# [Non-Blocking Exception. - this should not block decrypting other values]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue