fix: unify log format, use placeholders instead of string concatenation (#24544)
This commit is contained in:
parent
bfc4fe1a9a
commit
47f480c0dc
3 changed files with 4 additions and 4 deletions
|
|
@ -95,7 +95,7 @@ class CacheEmbedding(Embeddings):
|
|||
db.session.rollback()
|
||||
except Exception as ex:
|
||||
db.session.rollback()
|
||||
logger.exception("Failed to embed documents: %s")
|
||||
logger.exception("Failed to embed documents")
|
||||
raise ex
|
||||
|
||||
return text_embeddings
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue