Add debugging
This commit is contained in:
parent
77b6364cde
commit
3291f7809b
1 changed files with 2 additions and 1 deletions
|
@ -238,11 +238,12 @@ def consent():
|
||||||
app_id = consent_request.client.client_id
|
app_id = consent_request.client.client_id
|
||||||
# False positive: pylint: disable=no-member
|
# False positive: pylint: disable=no-member
|
||||||
kratos_id = consent_request.subject
|
kratos_id = consent_request.subject
|
||||||
except Exception as e:
|
except Exception as error:
|
||||||
current_app.logger.error(f"Error: Unable to extract information from consent request")
|
current_app.logger.error(f"Error: Unable to extract information from consent request")
|
||||||
current_app.logger.error(f"Error: {error}")
|
current_app.logger.error(f"Error: {error}")
|
||||||
current_app.logger.error(f"Client: {consent_request.client}")
|
current_app.logger.error(f"Client: {consent_request.client}")
|
||||||
current_app.logger.error(f"Subject: {consent_request.subject}")
|
current_app.logger.error(f"Subject: {consent_request.subject}")
|
||||||
|
current_app.logger.error(f"Subject: {consent_request.client.client_id}")
|
||||||
abort(501, description="Internal error occured")
|
abort(501, description="Internal error occured")
|
||||||
|
|
||||||
# Get the related user object
|
# Get the related user object
|
||||||
|
|
Loading…
Reference in a new issue