mirror of https://github.com/zulip/zulip.git
Truncate long Freshdesk subjects.
We're getting errors on prod for subjects that are too long. (imported from commit 742d92745be543d4b33d0888c6653bbee3f86c25)
This commit is contained in:
parent
10c5517414
commit
f8435cde82
|
@ -694,7 +694,7 @@ def api_freshdesk_webhook(request, user_profile, stream=REQ(default='')):
|
|||
|
||||
ticket = TicketDict(ticket_data)
|
||||
|
||||
subject = "#%s: %s" % (ticket.id, ticket.subject)
|
||||
subject = elide_subject("#%s: %s" % (ticket.id, ticket.subject))
|
||||
|
||||
try:
|
||||
event_info = parse_freshdesk_event(ticket.triggered_event)
|
||||
|
|
Loading…
Reference in New Issue