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
a5bb3179
Commit
a5bb3179
authored
May 13, 2013
by
Greg Price
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a prefix string to Zendesk errors to be more searchable in Splunk
parent
4774a1e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
common/djangoapps/util/views.py
+2
-2
No files found.
common/djangoapps/util/views.py
View file @
a5bb3179
...
...
@@ -161,7 +161,7 @@ def submit_feedback_via_zendesk(request):
try
:
ticket_id
=
zendesk_api
.
create_ticket
(
new_ticket
)
except
zendesk
.
ZendeskError
as
err
:
log
.
error
(
"
%
s"
,
str
(
err
))
log
.
error
(
"
Error creating Zendesk ticket:
%
s"
,
str
(
err
))
return
HttpResponse
(
status
=
500
)
# Additional information is provided as a private update so the information
...
...
@@ -170,7 +170,7 @@ def submit_feedback_via_zendesk(request):
try
:
zendesk_api
.
update_ticket
(
ticket_id
,
ticket_update
)
except
zendesk
.
ZendeskError
as
err
:
log
.
error
(
"
%
s"
,
str
(
err
))
log
.
error
(
"
Error updating Zendesk ticket:
%
s"
,
str
(
err
))
# The update is not strictly necessary, so do not indicate failure to the user
pass
...
...
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