#22574: BrokenLinkEmailsMiddleware: send an email for all broken links, not just
404
------------------------------+--------------------------------------
Reporter: jdufresne | Owner: nobody
Type: New feature | Status: closed
Component: Core (Other) | Version: master
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+--------------------------------------
Changes (by russellm):
* status: new => closed
* needs_better_patch: => 0
* resolution: => wontfix
* needs_tests: => 0
* needs_docs: => 0
Comment:
Thanks for the suggestion, but I don't think this is a good idea.
Firstly, I'm not wild about the idea of increasing the volume of email on
any existing users that have this middleware installed.
Secondly, email notification isn't the right way to be handling this sort
of reporting. BrokenLinkEmailsMiddleware is a big like a vestigial tail -
it is a relic of an era when there wasn't tools like Sentry to do log
analysis. I'd rather focus our efforts on integrating better with good
logging and analysis tools, rather than expanding the capabilities of a
feature that should probably be deprecated.
Lastly, if you *really* want 403's et al to reported by email, you can do
this in your own code without difficulty.
If you'd like to advocate for this feature, feel free to open a discussion
on the Django-developers mailing list.
--
Ticket URL: <https://code.djangoproject.com/ticket/22574#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.70d4ff1ec15b4072aadab04426739439%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.