mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-25 17:33:08 +01:00
seperate out text for better logging of error
This commit is contained in:
parent
0bddf819f7
commit
31887504fd
@ -179,7 +179,8 @@ def process_queue(q, logger):
|
|||||||
if six.PY2:
|
if six.PY2:
|
||||||
full_message = encoding.force_text("\n".join(server.retr(msgNum)[1]), errors='replace')
|
full_message = encoding.force_text("\n".join(server.retr(msgNum)[1]), errors='replace')
|
||||||
else:
|
else:
|
||||||
full_message = encoding.force_text(b"\n".join(server.retr(msgNum)[1]), errors='replace')
|
popmsg = server.retr(msgNum)[1]
|
||||||
|
full_message = encoding.force_text(b"\n".join(popmsg), errors='replace')
|
||||||
ticket = ticket_from_message(message=full_message, queue=q, logger=logger)
|
ticket = ticket_from_message(message=full_message, queue=q, logger=logger)
|
||||||
|
|
||||||
if ticket:
|
if ticket:
|
||||||
|
Loading…
Reference in New Issue
Block a user