Skip to content

Commit

Permalink
Merge branch 'feature/category-indexer' of github.com:Nosto/nosto-mag…
Browse files Browse the repository at this point in the history
…ento2 into feature/category-indexer
  • Loading branch information
ugljesaspx committed Sep 18, 2024
2 parents a65c321 + ce95047 commit 9dfe7a9
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 9dfe7a9

Please sign in to comment.