From 94eae4e5633fbf21f5dcae6e0472ce6a51dd3411 Mon Sep 17 00:00:00 2001 From: Carlton Gibson Date: Wed, 9 Oct 2019 09:29:46 +0200 Subject: [PATCH] Fixed #30858 -- Clarified that AdminEmailHandler processes all 5xx responses. --- docs/howto/error-reporting.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/howto/error-reporting.txt b/docs/howto/error-reporting.txt index f71de5b136..8521e01c61 100644 --- a/docs/howto/error-reporting.txt +++ b/docs/howto/error-reporting.txt @@ -20,10 +20,11 @@ Server errors When :setting:`DEBUG` is ``False``, Django will email the users listed in the :setting:`ADMINS` setting whenever your code raises an unhandled exception and -results in an internal server error (HTTP status code 500). This gives the -administrators immediate notification of any errors. The :setting:`ADMINS` will -get a description of the error, a complete Python traceback, and details about -the HTTP request that caused the error. +results in an internal server error (strictly speaking, for any response with +an HTTP status code of 500 or greater). This gives the administrators immediate +notification of any errors. The :setting:`ADMINS` will get a description of the +error, a complete Python traceback, and details about the HTTP request that +caused the error. .. note::