ticket = ServiceTicket.objects.get(ticket=ticket_string)
except ServiceTicket.DoesNotExist:
logger.exception("Tried to validate with an invalid ticket %s for %s", ticket_string, service)
ticket = ServiceTicket.objects.get(ticket=ticket_string)
except ServiceTicket.DoesNotExist:
logger.exception("Tried to validate with an invalid ticket %s for %s", ticket_string, service)