This commit is contained in:
Juan Pablo Vial
2025-07-03 17:13:22 -04:00
parent 15ba23bf23
commit 239376fadc

View File

@ -160,7 +160,13 @@ class Subscription extends AbstractEndPoint
$data = [
'product_id' => $newPids[$idx],
];
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[] = [