mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Log llm response on exception (#6750)
### What problem does this PR solve? Log llm response on exception ### Type of change - [x] Refactoring
This commit is contained in:
@ -318,4 +318,4 @@ class RedisDistributedLock:
|
||||
return self.lock.acquire(token=self.lock_value)
|
||||
|
||||
def release(self):
|
||||
return self.lock.release()
|
||||
REDIS_CONN.delete_if_equal(self.lock_key, self.lock_value)
|
||||
|
||||
Reference in New Issue
Block a user