error_notify: Remove custom email error reporting handler.

Restore the default django.utils.log.AdminEmailHandler when
ERROR_REPORTING is enabled.  Those with more sophisticated needs can
turn it off and use Sentry or a Sentry-compatible system.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit b285813beb)
This commit is contained in:
Anders Kaseorg
2023-06-09 16:01:05 -07:00
committed by Tim Abbott
parent 290b54a82d
commit a8675741a0
14 changed files with 5 additions and 580 deletions

View File

@@ -95,7 +95,6 @@ not_yet_fully_covered = [
"zerver/lib/bot_lib.py",
"zerver/lib/camo.py",
"zerver/lib/debug.py",
"zerver/lib/error_notify.py",
"zerver/lib/export.py",
"zerver/lib/fix_unreads.py",
"zerver/lib/import_realm.py",