Skip to content

Commit

Permalink
Return cart item error message as a string
Browse files Browse the repository at this point in the history
  • Loading branch information
rogyar committed May 8, 2019
1 parent 7d9a133 commit c0c04ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function execute(Quote $cart, int $cartItemId, float $qty, array $customi
if ($result->getHasError()) {
throw new GraphQlInputException(__(
'Could not update cart item: %message',
['message' => $result->getMessage()]
['message' => $result->getMessage(true)]
));
}
}
Expand Down

0 comments on commit c0c04ff

Please sign in to comment.