Skip to content

Commit

Permalink
Removed extra logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
jwjordan committed Aug 21, 2024
1 parent 60de2cd commit f12d576
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions backend/danswer/connectors/zendesk/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,12 +250,8 @@ def _poll_tickets(
try:
ticket = next(ticket_generator)

# Log out the ticket details
print(f"Processing ticket: {ticket.id}")

# Check if the ticket status is deleted
# Check if the ticket status is deleted and skip it if so
if ticket.status == "deleted":
print(f"Skipping deleted ticket: {ticket.id}")
continue

doc_batch.append(self._ticket_to_document(ticket))
Expand Down

0 comments on commit f12d576

Please sign in to comment.