We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58a358f commit f54fa11Copy full SHA for f54fa11
src/jinja2/loaders.py
@@ -353,8 +353,8 @@ def __init__(
353
354
if template_root is None:
355
raise ValueError(
356
- f"The {package_name!r} package was not installed in a"
357
- " way that PackageLoader understands."
+ f"PackageLoader could not find a '{package_path}' directory for the "
+ f"{package_name!r} package."
358
)
359
360
self._template_root = template_root
0 commit comments