Explorar o código

retry result log add err msg

ayHaru %!s(int64=4) %!d(string=hai) anos
pai
achega
b4b86388d4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
     }