Hi,
I have a procedure that I run with pro::DelegateToServer. When I run this procedure in an end-user session on the cloud, the global error handler runs fine when it comes across this statement:
raise error "artificial error";
.I have set the global error handler in the option menu:
![](https://uploads-eu-west-1.insided.com/aimms-en/attachment/e1f91788-b03a-4718-a148-c32d34d54cbe.png)
However, when running the same procedure in a delegated server session, the global error hander doesn't run. As workaround, I now included this onError block in my code, but it feels a bit weird to me that this is required to trigger the global error handler.
![](https://uploads-eu-west-1.insided.com/aimms-en/attachment/f358921f-e53d-4f9f-97ff-e74fa8df764d.png)
Is this expected behavior?
I'm running AIMMS 4.97 on the Cloud.
Best answer by MarcelRoelofs
View original