Kaynağa Gözat

enable logging

andre 1 hafta önce
ebeveyn
işleme
596fc1b7cf
1 değiştirilmiş dosya ile 9 ekleme ve 0 silme
  1. 9 0
      switchepp.php

+ 9 - 0
switchepp.php

@@ -1061,6 +1061,15 @@ function switchepp_Sync($params)
         }
     } catch (Exception $ex) {
         $values['error'] = $ex->getMessage();
+
+        logModuleCall(
+            'switchEPP',
+            __FUNCTION__,
+            $params,
+            'debug sync err',
+            $values
+        );
+
     }
     if (!empty($client))
         switchepp_logoutepp($client, $params);