Skip to content

Commit

Permalink
https://github.com/thehcginstitute-com/m1/issues/575
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Apr 22, 2024
1 parent 9bc051d commit 67408cb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/code/local/HCG/MailChimp/Batch/GetResults.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,13 @@ private static function _saveItemStatus(B $b, array $files, string $mcStore, int
if (!empty($files)) {
if (isset($files['error'])) {
$b->setStatus('error');
$b->save();
$h->logBatchStatus('There was an error getting the result ');
}
else {
ProcessEachResponseFile::p($files, $b->id(), $mcStore, $mgStore);
$b->setStatus('completed');
$b->save();
}
$b->save();
}
}
}

0 comments on commit 67408cb

Please sign in to comment.