Skip to content

Commit 038d4c3

Browse files
committed
MC-22215: Add customerCart Query and cart_id changes to schema and related resolvers
- Added customerQuery change for resolver exception message
1 parent f63695a commit 038d4c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/QuoteGraphQl/Model/Resolver/MaskedCartId.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ private function getQuoteMaskId(int $quoteId): string
6262
try {
6363
$maskedId = $this->quoteIdToMaskedQuoteId->execute($quoteId);
6464
} catch (NoSuchEntityException $exception) {
65-
throw new GraphQlNoSuchEntityException(__('Cart id is not '));
65+
throw new GraphQlNoSuchEntityException(__('Current user does not have an active cart.'));
6666
}
6767
return $maskedId;
6868
}

0 commit comments

Comments
 (0)