In my code, I have a loop and inside a try catch. When an error is encountered, catch block works, should log the error and send an email to inform about the error message.
Now I want it to do this and go back to the loop to continue the treatement.
If I have to loop through 100 records, and an error is detected in the 51st record, then the catch should log it, email it, and come back to continue with the 52nd record (kind of RESUME NEXT in VBS).
How can this be done?