mirror of
https://github.com/langgenius/dify.git
synced 2026-04-28 14:38:06 +08:00
fix: unify log format, use placeholders instead of string concatenation (#24544)
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user