Browse Source

Added error reporting for when an ingest fails

pull/91/head
Ben Woodhead 13 years ago
parent
commit
0d82073258
  1. 1
      ContentModel.inc

1
ContentModel.inc

@ -1374,6 +1374,7 @@ class ContentModel extends XMLDatastream {
else { else {
$status = $class->$methodName($param_array, $method->getAttribute('dsid'), $file, $method->getAttribute('modified_files_ext')); $status = $class->$methodName($param_array, $method->getAttribute('dsid'), $file, $method->getAttribute('modified_files_ext'));
if ($status !== TRUE) { if ($status !== TRUE) {
self::$errors[] = 'Execute Ingest Rules: method \'' . $className . '->' . $methodName . '\' failed.';
$ret = FALSE; $ret = FALSE;
} }
} }

Loading…
Cancel
Save