Browse Source

奖金结算增加日志

kevin_zhangl 3 years ago
parent
commit
cc7d2d059c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      common/helpers/bonus/BonusCalc.php

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

@@ -347,7 +347,7 @@ class BonusCalc extends BaseObject {
             echo('结算全部完成,共耗时:' . round($t35 - $t34, 3) . ',内存使用:' . (round(memory_get_usage() / 1024 / 1024, 3)) . 'MB' . PHP_EOL . PHP_EOL);
             echo('结算全部完成,共耗时:' . round($t35 - $t34, 3) . ',内存使用:' . (round(memory_get_usage() / 1024 / 1024, 3)) . 'MB' . PHP_EOL . PHP_EOL);
         } catch (\Exception $e) {
         } catch (\Exception $e) {
             $this->errorCalcTask();
             $this->errorCalcTask();
-            $this->addError('calc', $e->getMessage());
+            $this->addError('calc', $e->getFile() . '  ' . $e->getLine() . '  ' . $e->getMessage());
             return false;
             return false;
         }
         }
         return true;
         return true;