Skip to content

Commit a6ef70f

Browse files
authored
fix(decorators): stack trace on failed auth_check (#961)
1 parent f33475e commit a6ef70f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

langfuse/decorators/langfuse_decorator.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1110,7 +1110,9 @@ def auth_check(self) -> bool:
11101110
try:
11111111
return self.client_instance.auth_check()
11121112
except Exception as e:
1113-
self._log.error("No Langfuse object found in the current context", e)
1113+
self._log.error(
1114+
"No Langfuse object found in the current context", exc_info=e
1115+
)
11141116

11151117
return False
11161118

0 commit comments

Comments
 (0)