stanley-king před 1 rokem
rodič
revize
21fde66972
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      helper/refill/RefillBase.php

+ 2 - 1
helper/refill/RefillBase.php

@@ -430,8 +430,9 @@ class RefillBase
         } catch (Exception $ex) {
             $spec = $order->spec();
             $card_type = $order->card_type();
+            $cur_quality = $order->cur_quality();
 
-            Log::record("onError mchid=$mchid org_quality=$org_quality spec=$spec card_type=$card_type:" . $ex->getMessage(), Log::ERR);
+            Log::record("onError mchid=$mchid org_quality=$org_quality cur_qua=$cur_quality spec=$spec card_type=$card_type :" . $ex->getMessage(), Log::ERR);
             return false;
         }
     }