mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-14 23:21:35 +00:00
Fix typo in error logging (Excepton -> Exception)
This commit is contained in:
parent
6e6b2ca2d8
commit
ffcdce8ee4
1 changed files with 3 additions and 3 deletions
|
|
@ -126,7 +126,7 @@ class DualCache(BaseCache):
|
|||
|
||||
return result
|
||||
except Exception as e:
|
||||
verbose_logger.error(f"LiteLLM Cache: Excepton async add_cache: {str(e)}")
|
||||
verbose_logger.error(f"LiteLLM Cache: Exception async add_cache: {str(e)}")
|
||||
raise e
|
||||
|
||||
def get_cache(
|
||||
|
|
@ -356,7 +356,7 @@ class DualCache(BaseCache):
|
|||
await self.redis_cache.async_set_cache(key, value, **kwargs)
|
||||
except Exception as e:
|
||||
verbose_logger.exception(
|
||||
f"LiteLLM Cache: Excepton async add_cache: {str(e)}"
|
||||
f"LiteLLM Cache: Exception async add_cache: {str(e)}"
|
||||
)
|
||||
|
||||
# async_batch_set_cache
|
||||
|
|
@ -383,7 +383,7 @@ class DualCache(BaseCache):
|
|||
)
|
||||
except Exception as e:
|
||||
verbose_logger.exception(
|
||||
f"LiteLLM Cache: Excepton async add_cache: {str(e)}"
|
||||
f"LiteLLM Cache: Exception async add_cache: {str(e)}"
|
||||
)
|
||||
|
||||
async def async_increment_cache(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue