Skip to content

Commit

Permalink
#2615 Error message change for failed order
Browse files Browse the repository at this point in the history
  • Loading branch information
riha112 committed Jun 22, 2021
1 parent 79db781 commit 840fce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Resolver/MoveWishlistToCart.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ protected function addItemsToCart(array $wishlistItems, CartInterface $quote): v
try {
$this->quoteRepository->save($quote);
} catch (Exception $e) {
throw new GraphQlNoSuchEntityException(__('There was an error when trying to save wishlist items to cart'));
throw new GraphQlNoSuchEntityException(__('Failed to add items to cart'));
}
}

Expand Down

0 comments on commit 840fce1

Please sign in to comment.