Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
8ee03662
Commit
8ee03662
authored
Nov 14, 2017
by
Matt Drayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revise OData exception logging
parent
efd0381c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
common/djangoapps/third_party_auth/saml.py
+8
-2
No files found.
common/djangoapps/third_party_auth/saml.py
View file @
8ee03662
...
...
@@ -247,8 +247,14 @@ class SapSuccessFactorsIdentityProvider(EdXSAMLIdentityProvider):
return
missing
def
log_bizx_api_exception
(
self
,
transaction_data
,
err
):
sys_msg
=
err
.
response
.
json
()
if
err
.
response
else
'Not available'
headers
=
err
.
response
.
headers
if
err
.
response
else
'Not available'
try
:
sys_msg
=
err
.
response
.
content
except
AttributeError
:
sys_msg
=
'Not available'
try
:
headers
=
err
.
response
.
headers
except
AttributeError
:
headers
=
'Not available'
token_data
=
transaction_data
.
get
(
'token_data'
)
token_data
=
token_data
if
token_data
else
'Not available'
log_msg_template
=
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment