kvin 1 rok temu
rodzic
commit
0fe6609e99
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      common/helpers/bonus/PreparePerfCalc.php

+ 1 - 1
common/helpers/bonus/PreparePerfCalc.php

@@ -182,7 +182,7 @@ class PreparePerfCalc {
             file_put_contents('error_test.txt', var_export([
             file_put_contents('error_test.txt', var_export([
                 'err' => $e->getMessage()
                 'err' => $e->getMessage()
             ],true),FILE_APPEND);
             ],true),FILE_APPEND);
-            $this->addError('calc', $e->getMessage());
+            $this->addError('calc', $e->getFile() . ' ' . $e->getLine() . ' ' . $e->getMessage());
             return false;
             return false;
         }
         }