vuestorefront / storefront-api

Storefront GraphQL API Gateway. Modular architecture. ElasticSearch included. Works great with Magento1, Magento2, Spree, OpenCart, Pimcore and custom backends
https://storefrontapi.com
MIT License
8 stars 1 forks source link

Unhandled promise rejection when cart synchronization fails in o2m.ts #92

Closed itsjab closed 4 years ago

itsjab commented 4 years ago

When placing an order using storefront API default-vsf with Magento 2, a rejected promise is not handled o2m.ts. Simply put, the catch statement is missing.

The request is thus never resolved until the client terminates the request with a timeout. It is a simple fix and I am happy to submit a PR for the issue

itsjab commented 4 years ago

Duplicate