diff options
| author | Pavel Lysak <p.lysak@corp.mail.ru> | 2019-09-07 20:08:12 +0300 |
|---|---|---|
| committer | Carlton Gibson <carlton@noumenal.es> | 2020-01-16 15:25:49 +0100 |
| commit | 13e4abf83e5129b44c771b2204809792087abda4 (patch) | |
| tree | 4a1ae01aef949cde3210a62127a985258aae245b /django/utils/log.py | |
| parent | a5a28de89dabfa03302a5893102b6f1a7c7861a1 (diff) | |
Fixed #30752 -- Allowed using ExceptionReporter subclasses in error reports.
Diffstat (limited to 'django/utils/log.py')
| -rw-r--r-- | django/utils/log.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/log.py b/django/utils/log.py index e40d87159c..717c15814c 100644 --- a/django/utils/log.py +++ b/django/utils/log.py @@ -86,7 +86,7 @@ class AdminEmailHandler(logging.Handler): super().__init__() self.include_html = include_html self.email_backend = email_backend - self.reporter_class = import_string(reporter_class or 'django.views.debug.ExceptionReporter') + self.reporter_class = import_string(reporter_class or settings.DEFAULT_EXCEPTION_REPORTER) def emit(self, record): try: |
