From 7a4f276cc7620fae1c48e0d9454b26a18e04db16 Mon Sep 17 00:00:00 2001 From: Stefan Wanzenried Date: Thu, 23 Jun 2016 14:56:42 +0200 Subject: [PATCH] Shorten useless exception message ^^ --- TemplateEngineChunk.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TemplateEngineChunk.php b/TemplateEngineChunk.php index 6748bad..e8eab51 100644 --- a/TemplateEngineChunk.php +++ b/TemplateEngineChunk.php @@ -121,7 +121,7 @@ public function setTemplateFile($template_file) $this->template_file = $template_file; $this->view = $this->wire('factory')->load($template_file); if ($this->view === null) { - throw new WireException("View for chunk {$this->chunk_file} does not exist, looked at '$template_file'"); + throw new WireException("View for chunk {$this->chunk_file} does not exist"); } return $this;