Skip to content
Browse files

Fixed #14973 -- Tweaked the email log handler so that the log message…

… is actually reported.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15132 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 0f783b7 commit 2a5105ac15baf68c844aa14b68b7af63a2329fc9 @freakboy3742 freakboy3742 committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/utils/log.py
View
2 django/utils/log.py
@@ -71,7 +71,7 @@ def emit(self, record):
subject = '%s (%s IP): %s' % (
record.levelname,
(request.META.get('REMOTE_ADDR') in settings.INTERNAL_IPS and 'internal' or 'EXTERNAL'),
- request.path
+ record.msg
)
request_repr = repr(request)
except:

0 comments on commit 2a5105a

Please sign in to comment.
Something went wrong with that request. Please try again.