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)))