Link coverage automation script

I have created automation script to go through each link and see if its opening properly and not giving me any yellow screen error. The website does have one yellow screen error for object not set to reference error. After I found that error, the script can not go back to original page and so it doesnt run rest of the links to verify. How can I achieve this. I have set Continue on failure as failure handling for each steo and still doenst work. every step after this step fails because script can not find any elements on yellow screen page. Please help.

If you want to achieve this easily, then it’s suggested to use one of the following keywords:
- Verify All Links On Current Page Accessible
- Verify Links Accessible