Trouble in catching/handling exception inside event subscriber #54631
Unanswered
iamudaykumar
asked this question in
Q&A
Replies: 1 comment
-
If the exception propagates that means it didn’t get caught 🙃 Please provide a reproducer so we can see what the cause is. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am dispatching an event using EventDispatcherInterface and in the event ,
An exception is thrown in CustomerModel->createOrUpdateCustomer, the exception is being caught, but it is propagating to the code where event is dispatched.
why is this happening? any way to fix this?
It is the case with all of my event subscribers.
Beta Was this translation helpful? Give feedback.
All reactions