#24730: Egg loader should catch more specific exception
--------------------------------------+--------------------
Reporter: prestontimmons | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Template system | Version: 1.8
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+--------------------
The `django.template.loaders.eggs.Loader` uses a bare try/except when
trying to load templates. It would be better to catch the specific
exception(s) raised by `resource_string` when a template does not exist
and let any others pass through.
This is similar to the change made in #24399 for the filesystem template
loaders.
--
Ticket URL: <https://code.djangoproject.com/ticket/24730>
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/057.c4ff267419709b13094d15acea9b94ba%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.