Skip to content

Commit 3aa352f

Browse files
author
Anton
committed
rebase
1 parent 41f06e6 commit 3aa352f

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

intaro.retailcrm/classes/general/user/RetailCrmUser.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,10 +349,19 @@ public static function updateLoyaltyAccountIds(): bool
349349
sprintf('Обновлен идентификатор участия ПЛ для пользователя с ID %s', $user['ID']),
350350
'loyaltyIdsUpdate'
351351
);
352+
} else {
353+
Logger::getInstance()->write(
354+
sprintf('Не удалось обновить данные пользователя с ID %s', $user['ID']),
355+
'loyaltyIdsUpdate'
356+
);
352357
}
353358
} catch (Throwable $exception) {
354359
Logger::getInstance()->write(
355-
sprintf('Ошибка обновления участия для пользователя с ID %s', $user['ID']),
360+
sprintf(
361+
'Ошибка при обновлении участия для пользователя с ID %s. Подробнее: %s',
362+
$user['ID'],
363+
$exception->getMessage()
364+
),
356365
'loyaltyIdsUpdate'
357366
);
358367
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

33
$arModuleVersion = [
4-
'VERSION' => '6.7.6',
5-
'VERSION_DATE' => '2025-12-14 9:30:00'
4+
'VERSION' => '6.7.7',
5+
'VERSION_DATE' => '2025-12-15 12:30:00'
66
];

0 commit comments

Comments
 (0)