There was an error while loading. Please reload this page.
1 parent 3d07598 commit 7368ae9Copy full SHA for 7368ae9
1 file changed
main.py
@@ -75,7 +75,7 @@ def get_consent(challenge: str | None = None):
75
resp.raise_for_status()
76
return responses.JSONResponse(status_code=resp.status_code, content=resp.json())
77
except requests.RequestException as e:
78
- logging.getLogger(__name__).warning("Hydra consent get failed: %s", e)
+ logging.getLogger(__name__).error("Hydra consent get failed: %s", e)
79
return responses.JSONResponse(
80
status_code=status.HTTP_500_INTERNAL_SERVER_ERROR,
81
content={"status": "error", "message": "failed to get consent request"},
0 commit comments