Hi, I have the following test code which doesn't work as I expected. The first finally statement (echo "finally1") is never executed. All the other three echo lines are working. Have I misunderstood how exceptions should work?
try:
try:
raise newException(Exception, "Hello")
except:
echo "except1"
raise
finally:
echo "finally1"
except:
echo "except2"
finally:
echo "finally2"