Riyaz wrote:Hi Mike
Thanks for your reply, actually, there was another exception after this where the problem was, found the cause, ok now, issue was that was inside a try catch block so it was getting caught. Thanks for your support.
Ahh, I see that now - the problem code was below where I was looking - I just tested the first scenario I came across where you were performing a throw.
If I looked through all your code, I would have found where you had a throw inside a try catch and the catch swallowed the exception inside a handler of the sales order SaveStart event - which is where your problem was.
If we had just the relevant code to the problem inside the plugin, that would have saved us all a lot of time. A lesson learned for the next time!