Browse Source

retry result log add err msg

ayHaru 4 năm trước cách đây
mục cha
commit
b4b86388d4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      helper/refill/RefillFactory.php

+ 1 - 1
helper/refill/RefillFactory.php

@@ -471,7 +471,7 @@ class RefillFactory
         $card_name = $refill_info['card_name'] ?? '';
 
         [$success, $err] = $this->add($mchid, $buyer_id, $amount, $card_no, $mch_order, $idcard, $card_name, $notify_url, $order_time, $commit_times);
-        Log::record("retry result:{$success}", Log::DEBUG);
+        Log::record("retry result:{$success} , err: {$err}", Log::DEBUG);
         return ($success === true);
     }