Skip to content

Commit

Permalink
fix(decorators): stack trace on failed auth_check (#961)
Browse files Browse the repository at this point in the history
  • Loading branch information
hassiebp authored Oct 10, 2024
1 parent f33475e commit a6ef70f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion langfuse/decorators/langfuse_decorator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1110,7 +1110,9 @@ def auth_check(self) -> bool:
try:
return self.client_instance.auth_check()
except Exception as e:
self._log.error("No Langfuse object found in the current context", e)
self._log.error(
"No Langfuse object found in the current context", exc_info=e
)

return False

Expand Down

0 comments on commit a6ef70f

Please sign in to comment.