From 42e04f978ac4f50ebc0d50036972c39ed42f3ba6 Mon Sep 17 00:00:00 2001 From: Thijs Kinkhorst <thijs@kinkhorst.com> Date: Fri, 18 Oct 2019 07:08:34 +0000 Subject: [PATCH] Deconfuse missing template exception by providing the actual filename we look for --- lib/SimpleSAML/XHTML/Template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/SimpleSAML/XHTML/Template.php b/lib/SimpleSAML/XHTML/Template.php index 95681168a..be144263f 100644 --- a/lib/SimpleSAML/XHTML/Template.php +++ b/lib/SimpleSAML/XHTML/Template.php @@ -291,7 +291,7 @@ class Template extends Response // abort if twig template does not exist if (!$loader->exists($this->twig_template)) { - throw new \Exception('Template-file \"' . $this->template . '\" does not exist.'); + throw new \Exception('Template-file \"' . $this->getTemplateName() . '\" does not exist.'); } // load extra i18n domains -- GitLab