Explorar o código

feat: NG-71: 会员奖金计算调整

kevin hai 1 ano
pai
achega
188a848c01
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      common/models/UserPerformance.php

+ 1 - 1
common/models/UserPerformance.php

@@ -227,7 +227,7 @@ class UserPerformance extends \common\components\ActiveRecord
             $transaction->commit();
         } catch (\Exception $e) {
             $transaction->rollBack();
-            throw new Exception($e->getMessage());
+            throw new Exception(sprintf('PB奖金挂网异常:File: %s, Line: {%s}, message: %s', $e->getFile(), $e->getLine(), $e->getMessage()));
         }
 
         return true;