diff --git a/Model/Service/Sync/AbstractBulkPublisher.php b/Model/Service/Sync/AbstractBulkPublisher.php index 13ea007d5..2df16c360 100644 --- a/Model/Service/Sync/AbstractBulkPublisher.php +++ b/Model/Service/Sync/AbstractBulkPublisher.php @@ -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)); } }