diff --git a/tests/PHPUnit/proxy/index.php b/tests/PHPUnit/proxy/index.php
index 594ad5da368a29fd500627e03d7b90fc64eb4192..6cb5db106ca6f3cb085d9e506848ca3a6043ad8a 100644
--- a/tests/PHPUnit/proxy/index.php
+++ b/tests/PHPUnit/proxy/index.php
@@ -10,4 +10,10 @@ Piwik_TestingEnvironment::addHooks();
 
 \Piwik\Profiler::setupProfilerXHProf();
 
-include PIWIK_INCLUDE_PATH . '/index.php';
\ No newline at end of file
+try {
+    include PIWIK_INCLUDE_PATH . '/index.php';
+} catch (Exception $ex) {
+    \Piwik\Log::debug($ex);
+
+    throw $ex;
+}
\ No newline at end of file