#27827: Raising InvalidTemplateLibrary completely masks out real exception in
get_package_libraries
--------------------------------------+------------------------------------
Reporter: Kehinde Adewusi | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Template system | Version: 1.10
Severity: Normal | Resolution:
Keywords: debugging | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Tim Graham):
* owner: (none) => nobody
* component: Error reporting => Template system
* stage: Unreviewed => Accepted
Comment:
I'm not sure if the "helpful" message added in
655f52491505932ef04264de2bce21a03f3a7cd0 must be removed, but since master
only supports Python 3, there's an opportunity to use Python 3 exception
chaining, e.g. `raise InvalidTemplateLibrary(...) from e`.
--
Ticket URL: <https://code.djangoproject.com/ticket/27827#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/072.1fa12db24212624a195e6c54574fbba9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.