diff --git a/src/EventListener/ShippingExportEventListener.php b/src/EventListener/ShippingExportEventListener.php index 2fffffa..8f312da 100644 --- a/src/EventListener/ShippingExportEventListener.php +++ b/src/EventListener/ShippingExportEventListener.php @@ -93,6 +93,7 @@ public function exportShipment(ResourceControllerEvent $event): void $exception->getMessage(), ), ); + return; } $flashBag->add('success', 'bitbag.ui.shipment_data_has_been_exported');