diff --git a/authentik/lib/config.py b/authentik/lib/config.py index a4cf1348d..5df6a81af 100644 --- a/authentik/lib/config.py +++ b/authentik/lib/config.py @@ -83,8 +83,8 @@ class ConfigLoader: try: with open(url.path, "r", encoding="utf8") as _file: value = _file.read() - except OSError: - self._log("error", f"Failed to read config value from {url.path}") + except OSError as exc: + self._log("error", f"Failed to read config value from {url.path}: {exc}") value = url.query return value