Browse Source

enable logging

andre 2 years ago
parent
commit
64ff5a5f51

+ 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);
 
+        logModuleCall(
+            'zimbraEmail',
+            __FUNCTION__,
+            $this->api->account->getLastResult(),
+            'debug',
+            $this->api->account->getLastResult()->getLastErrorCode()
+        );
+
         /**
          * problem with create account
          */