Skip to content

Commit 7368ae9

Browse files
committed
chore: logging
1 parent 3d07598 commit 7368ae9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def get_consent(challenge: str | None = None):
7575
resp.raise_for_status()
7676
return responses.JSONResponse(status_code=resp.status_code, content=resp.json())
7777
except requests.RequestException as e:
78-
logging.getLogger(__name__).warning("Hydra consent get failed: %s", e)
78+
logging.getLogger(__name__).error("Hydra consent get failed: %s", e)
7979
return responses.JSONResponse(
8080
status_code=status.HTTP_500_INTERNAL_SERVER_ERROR,
8181
content={"status": "error", "message": "failed to get consent request"},

0 commit comments

Comments
 (0)