Skip to content

Commit

Permalink
Merge branch 'MDL-59657_master-fix' of git://github.com/dmonllao/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski authored and David Monllao committed Sep 7, 2017
2 parents 95fc1e7 + 0a68e28 commit 2999602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mlbackend/php/classes/processor.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public function classify($uniqueid, \stored_file $dataset, $outputdir) {
$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();
Expand Down

0 comments on commit 2999602

Please sign in to comment.