Skip to content

Commit

Permalink
push
Browse files Browse the repository at this point in the history
  • Loading branch information
marcklingen committed Sep 3, 2024
1 parent 7a69457 commit 4a49e8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions langfuse/prompt_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ def run(self):
try:
task = self._queue.get(timeout=1)
self._log.debug(
f"PromptCacheRefreshConsumer {self._identifier} processing task"
f"PromptCacheRefreshConsumer processing task, {self._identifier}"
)
try:
task()
# Task failed, but we still consider it processed
except Exception as e:
self._log.exception(
f"PromptCacheRefreshConsumer {self._identifier} encountered an error: {e}"
f"PromptCacheRefreshConsumer encountered an error: {self._identifier}, {e}"
)

self._queue.task_done()
Expand Down

0 comments on commit 4a49e8d

Please sign in to comment.