Send Markdown parser failures to the errors stream.

(imported from commit 8638744ec45d6505fe3a7be87df0a70943f23996)
This commit is contained in:
Tim Abbott 2013-05-16 16:53:45 -04:00 committed by Leo Franchi
parent b46bc6004f
commit c325794f3c
1 changed files with 1 additions and 1 deletions

View File

@ -611,7 +611,7 @@ def convert(md):
% (traceback.format_exc(), cleaned))
subject = "Markdown parser failure on %s" % (platform.node(),)
internal_send_message("humbug+errors@humbughq.com", "stream",
"devel", subject, "Markdown parser failed, message sent to devel@")
"errors", subject, "Markdown parser failed, email sent with details.")
mail.mail_admins(subject, "Failed message: %s\n\n%s\n\n" % (
cleaned, traceback.format_exc()),
fail_silently=False)