MDL-55594 output: Adding template name to filenotfound exception

Part of MDL-55071
This commit is contained in:
Frederic Massart 2016-08-17 14:51:08 +08:00 committed by Dan Poltawski
parent 10deddd34e
commit a47e73ff7c

View File

@ -116,6 +116,6 @@ class mustache_template_finder {
}
}
throw new moodle_exception('filenotfound', 'error');
throw new moodle_exception('filenotfound', 'error', '', null, $name);
}
}