even if you use the try, catch method your code is going to run till the end of the procedure even if an error is caught.