Skip to content

Commit

Permalink
Merge branch 'develop' into feature/category-indexer
Browse files Browse the repository at this point in the history
  • Loading branch information
supercid authored Sep 18, 2024
2 parents 3de71b3 + 48e0d44 commit ce95047
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Model/Service/Sync/AbstractBulkPublisher.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,9 @@ private function publishCollectionToMessageQueue(
$bulkDescription
);
if (!$result) {
$msg = 'Something went wrong while publishing bulk to RabbitMQ. Please check your connection';
/** @phan-suppress-next-line PhanTypeMismatchArgumentProbablyReal */
throw new LocalizedException(__('Something went wrong while processing the request.'));
throw new LocalizedException(__($msg));
}
}

Expand Down

0 comments on commit ce95047

Please sign in to comment.