浏览代码

enable logging

andre 2 年之前
父节点
当前提交
64ff5a5f51
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      app/Libs/Zimbra/Components/Api/Soap/Services/Create/CreateAccount.php

+ 8 - 0
app/Libs/Zimbra/Components/Api/Soap/Services/Create/CreateAccount.php

@@ -149,6 +149,14 @@ class CreateAccount extends ApiService
          */
          */
         $result = $this->api->account->create($model);
         $result = $this->api->account->create($model);
 
 
+        logModuleCall(
+            'zimbraEmail',
+            __FUNCTION__,
+            $this->api->account->getLastResult(),
+            'debug',
+            $this->api->account->getLastResult()->getLastErrorCode()
+        );
+
         /**
         /**
          * problem with create account
          * problem with create account
          */
          */