Closed mmenozzi closed 1 year ago
We decided to implement this by injecting a special Logger in the ItemImportHandler
which should log any exception thrown during the import process. This special Logger should be configured with a "DoctrineORMHandler" which will persist logs as a new Log entity that will be configured as Sylius resource with dedicated grid in the backend.
DoctrineORMHandler
in the ItemImportHandler
and log any exception/error or success result
Now that we use Symfony Messenger as queue engine we lost the ability to show failed queue items to allow the merchant to review import errors.
So, we should implement a system that allows the merchant to review import jobs status.