Forum Discussion
Hi Alex,
Thank you for replying,
In the OnLogError I had a Runner.Stop(True).
I understand that with this statement TC would stop and not go to the finally.
But I tried to remove it, and the main procedure just continues.
I tried to put a "raise" in OnLogError and the main procedure still continues without going instantly to the finally.
I wrote to the support...
Hi Mehdi,
> I tried to put a "raise" in OnLogError and the main procedure still continues without going instantly to the finally.
I have a strong feeling that several years ago there was a breaking change in DelphiScript engine (not sure was it for purpose or not) that unhandled exception thrown in some called script unit stopped to be traced back to the caller parent one that contains exception handling structures. This is how DelphiScript functioned initially for a lot of years.
I would really hope that guys will be able to correct this behavior while working on your case.
Related Content
- 5 years ago
- 6 years ago
Recent Discussions
- 18 hours ago