This commit is contained in:
Sergey 2018-10-03 17:09:02 +03:00
parent bac48ac933
commit 49fd0d3553
4 changed files with 16 additions and 3 deletions

View File

@ -1,3 +1,6 @@
## v.2.2.3
* Добавлена исключение при обработка исключений при обновлении пользователя
## v.2.2.2
* Добавлена передача комментария клиента при создании заказа
* Добавлена передача дополнительного номера телефона в заказе и клиенте при создании заказа

View File

@ -1 +1 @@
2.2.2
2.2.3

View File

@ -50,7 +50,17 @@ class RetailcrmHistory
$customer->email = $customerHistory['email'];
}
$customer->update();
try {
$customer->update();
} catch (PrestaShopException $e) {
error_log(
'[' . date('Y-m-d H:i:s') . '] customerHistory: ' . $e->getMessage() . ' customer externalId '. $customerHistory['externalId'] . "\n",
3,
_PS_ROOT_DIR_ . '/retailcrm.log'
);
continue;
}
} else {
$customer = new Customer();

View File

@ -3,7 +3,7 @@
* @author Retail Driver LCC
* @copyright RetailCRM
* @license GPL
* @version 2.2.2
* @version 2.2.3
* @link https://retailcrm.ru
*
*/