Merge branch 'MDL-59657_master-fix' of git://github.com/dmonllao/moodle
authorDan Poltawski <dan@moodle.com>
Wed, 6 Sep 2017 13:24:12 +0000 (14:24 +0100)
committerDavid Monllao <davidm@moodle.com>
Thu, 7 Sep 2017 08:58:38 +0000 (10:58 +0200)
lib/mlbackend/php/classes/processor.php

index 99458a1..9cbbdf3 100644 (file)
@@ -147,7 +147,7 @@ class processor implements \core_analytics\classifier, \core_analytics\regressor
         $modelfilepath = $outputdir . DIRECTORY_SEPARATOR . self::MODEL_FILENAME;
 
         if (!file_exists($modelfilepath)) {
-            throw new \moodle_exception('errorcantloadmodel', 'analytics', '', $modelfilepath);
+            throw new \moodle_exception('errorcantloadmodel', 'mlbackend_php', '', $modelfilepath);
         }
 
         $modelmanager = new ModelManager();