Handling of STOP conditions
Always use the Consultingwerk/Windows/ui-catch.i include to display errors on the screen.
Explicit simple CATCH Block with just
CATCH err AS Progress.Lang.Error:
ErrorHelper:ShowErrorMessage (err) .
END CATCH.
should be avoided.
There is also a new switch in products.i that for OE12 will enable handling of Stop conditions via CATCH. On historic 11.7 this needs be manually set when -catchStop1 is used.
Note: As -catchStop 1 is an inofficial feature of 11.7.5 (a pre-release), I do not recommend it’s usage on OE11. So use it in projects on historic 11.7.x at own risk 😊
The whole feature however will allow to distinguish “any” STOP condition from STOP-AFTER, or record locked errors.