Extended debugging information thrown by an exception

This commit is contained in:
David Mudrak
2011-05-24 16:00:55 +02:00
parent eb78f0632d
commit 6357693c8b
+1 -1
View File
@@ -404,7 +404,7 @@ class moodle1_converter extends base_converter {
$record = restore_dbops::get_backup_ids_record($this->get_id(), $stashname, $itemid);
if (empty($record)) {
throw new moodle1_convert_empty_storage_exception('required_not_stashed_data');
throw new moodle1_convert_empty_storage_exception('required_not_stashed_data', array($stashname, $itemid));
} else {
return $record->info;
}