Sfoglia il codice sorgente

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

kevin 1 anno fa
parent
commit
188a848c01
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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;