From d37de6bc00a4d5429ddfb2618af5ed4cea02d283 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 14 Jan 2023 19:53:21 +0100 Subject: [PATCH] policies: log full stacktrace Signed-off-by: Jens Langhammer --- authentik/policies/process.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/policies/process.py b/authentik/policies/process.py index 90be043dd..9d43eda75 100644 --- a/authentik/policies/process.py +++ b/authentik/policies/process.py @@ -138,5 +138,5 @@ class PolicyProcess(PROCESS_CLASS): try: self.connection.send(self.profiling_wrapper()) except Exception as exc: # pylint: disable=broad-except - LOGGER.warning("Policy failed to run", exc=exc) + LOGGER.warning("Policy failed to run", exc=exception_to_string(exc)) self.connection.send(PolicyResult(False, str(exc)))