diff --git a/model/QtiItemCompiler.php b/model/QtiItemCompiler.php
index <HASH>..<HASH> 100755
--- a/model/QtiItemCompiler.php
+++ b/model/QtiItemCompiler.php
@@ -205,7 +205,7 @@ class QtiItemCompiler extends taoItems_models_classes_ItemCompiler
             );
         } catch (\tao_models_classes_FileNotFoundException $e) {
             return new common_report_Report(
-                common_report_Report::TYPE_ERROR, __('Unable to retrieve asset "%s"', $e->getFile())
+                common_report_Report::TYPE_ERROR, __('Unable to retrieve asset "%s"', $e->getFilePath())
             );
         }
     }
display the correct path of the file not found