Skip to content

Commit

Permalink
Merge branch 'develop' into reindex-recrawl-request
Browse files Browse the repository at this point in the history
  • Loading branch information
supercid authored Sep 30, 2024
2 parents 40e010e + 48e0d44 commit 8fbf613
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 8fbf613

Please sign in to comment.