I'm not getting the results I think I should expect from the following 2 simple scripts. First, the starting script
DO
rc = test2()
CATCH FAILURE
SAY 'We caught a failure'
END
and now test2
SAY "Raising a failure"
RAISE FAILURE 2 DESCRIPTION ""
RETURN 0
FINALLY
SAY "We ran through the finally"
The reason I'm including these is that I have a "real" script that raises a failure, but it never seems to run through the finally code.
Am I doing something wrong or misunderstanding what should be happening |