GX-Bug #70339
Von Tobias Schindler vor fast 2 Jahren aktualisiert
The Afterbuy order export might end in an unhandled exception if the Afterbuy Order ID was already mapped to the shop's Order ID.
Note: The exception is only catched in some cases, depending on the Shops Doctrine DBAL version.
The exception can occur in different places, for example when creating shipping labels or when a customer places an order. The process should never end in an unhandled exception, especially if transmitting a new order.
To improve the stability, the order export should catch any PHP `Throwable`, so we can log the exception. It is essential that the process never ends in an unhandled exception.