Add some debug

This commit is contained in:
Mart van Santen 2022-04-01 17:02:52 +08:00
parent e5cb358f39
commit 9fce6c8ec3

View file

@ -245,8 +245,8 @@ def consent():
app_id = consent_client.get('client_id')
# False positive: pylint: disable=no-member
kratos_id = consent_request.subject
current_app.logger.error(f"Info: Found kratos_id {kratos_id"})
current_app.logger.error(f"Info: Found app_id {app_id"})
current_app.logger.error(f"Info: Found kratos_id {kratos_id}")
current_app.logger.error(f"Info: Found app_id {app_id}")
except Exception as error:
current_app.logger.error(f"Error: Unable to extract information from consent request")