diff --git a/public/ModuleDlstatsStatisticsDetails.php b/public/ModuleDlstatsStatisticsDetails.php
index <HASH>..<HASH> 100644
--- a/public/ModuleDlstatsStatisticsDetails.php
+++ b/public/ModuleDlstatsStatisticsDetails.php
@@ -33,8 +33,7 @@ while ($dir != '.' && $dir != '/' && !is_file($dir . '/system/initialize.php'))
  
 if (!is_file($dir . '/system/initialize.php'))
 {
-    echo 'Could not find initialize.php!';
-    exit(1);
+    throw new \ErrorException('Could not find initialize.php!',2,1,basename(__FILE__),__LINE__);
 }
 require($dir . '/system/initialize.php');
Fixed #<I> - exit() and die() functions should be avoided