Commit 9187ca80 by Peter Fogg

Merge pull request #10910 from edx/peter-fogg/fix-zendesk-logging

Fix spurious Zendesk warnings.
parents 5ecca7c5 2d40c663
......@@ -233,7 +233,7 @@ def _record_feedback_in_zendesk(
new_ticket['ticket']['group_id'] = group['id']
try:
ticket_id = zendesk_api.create_ticket(new_ticket)
if group is None:
if group_name is not None and group is None:
# Support uses Zendesk groups to track tickets. In case we
# haven't been able to correctly group this ticket, log its ID
# so it can be found later.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment