Skip to content

Commit

Permalink
Shorten useless exception message ^^
Browse files Browse the repository at this point in the history
  • Loading branch information
wanze committed Jun 23, 2016
1 parent 16fed9a commit 7a4f276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TemplateEngineChunk.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7a4f276

Please sign in to comment.