diff --git a/src/main/php/modules/h5p/mod_h5p.php b/src/main/php/modules/h5p/mod_h5p.php index aea8597a..7152a53e 100644 --- a/src/main/php/modules/h5p/mod_h5p.php +++ b/src/main/php/modules/h5p/mod_h5p.php @@ -98,7 +98,8 @@ public function createInstance() { $messagesArray = array_values($this->H5PFramework->getMessages('error')); $h5p_error = end($messagesArray); - $Logger -> debug('There was a problem with the H5P-file ('.$this->esObject->getObjectID().'): '.$h5p_error->code); + $Logger -> warn('There was a problem with the H5P-file ('.$this->esObject->getObjectID().'): '.$h5p_error->code); + $Logger -> warn(print_r($h5p_error, true)); @rmdir($this->H5PFramework->get_h5p_path() . DIRECTORY_SEPARATOR . md5($this->esObject->getObjectID())); return false;