Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #14851 -- Swapped an argument order to fix compatibility with P…

…ython<2.6. Thanks for report and patch, mk.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14845 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 5fadc862007a967dcb66774a78fee7c4808c6a69 1 parent 29c4a57
Jannis Leidel jezdez authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/utils/log.py
2  django/utils/log.py
View
@@ -87,7 +87,7 @@ def emit(self, record):
stack_trace = 'No stack trace available'
message = "%s\n\n%s" % (stack_trace, request_repr)
- reporter = ExceptionReporter(request, *exc_info, is_email=True)
+ reporter = ExceptionReporter(request, is_email=True, *exc_info)
html_message = reporter.get_traceback_html()
mail.mail_admins(subject, message, fail_silently=True,
html_message=html_message)
Please sign in to comment.
Something went wrong with that request. Please try again.