MDL-22414 Fixed debugging information when a particular exception is thrown

This commit is contained in:
David Mudrak
2011-06-08 17:39:45 +02:00
parent 33560f50fb
commit a5f2b97b7f
+1 -1
View File
@@ -280,7 +280,7 @@ class moodle1_converter extends base_converter {
$returned = null; // data returned by the processing method, if any
if (empty($object)) {
throw new convert_exception('missing_processing_object', $object);
throw new convert_exception('missing_processing_object', null, $data['path']);
}
// release the lock if we aren't anymore within children of it