feature/cierres #30

Merged
aldarien merged 460 commits from feature/cierres into develop 2025-09-11 15:16:17 -03:00
80 changed files with 474 additions and 2633 deletions
Showing only changes of commit 239376fadc - Show all commits

View File

@ -160,7 +160,13 @@ class Subscription extends AbstractEndPoint
$data = [
'product_id' => $newPids[$idx],
];
if (!$this->edit($tokuId, $data, array_key_exists($idx, $keys) ? $keys[$idx] : null)) {
try {
if (!$this->edit($tokuId, $data, array_key_exists($idx, $keys) ? $keys[$idx] : null)) {
$this->logger->error("Error while updating Toku {$tokuId}");
continue;
}
} catch (EmptyResponse $exception) {
$this->logger->error($exception);
continue;
}
$output[] = [